HighDots Forums  

Opaque background on table

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Opaque background on table in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tania
 
Posts: n/a

Default Opaque background on table - 11-18-2004 , 08:42 PM






I have a scenic picture for the background of a page. I would like to make a
table, with an opaque background, over top to hold content, that will still
somewhat show my page background. How do I do this?



Reply With Quote
  #2  
Old   
Chris Leipold
 
Posts: n/a

Default Re: Opaque background on table - 11-19-2004 , 02:37 AM






Hi Tania,

Quote:
I have a scenic picture for the background of a page. I would like to make a
table, with an opaque background, over top to hold content, that will still
somewhat show my page background. How do I do this?
If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris


Reply With Quote
  #3  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Opaque background on table - 11-19-2004 , 09:34 AM




"Tania" <taniaj (AT) nospam (DOT) com> wrote

Quote:
I have a scenic picture for the background of a page. I would like to make
a
table, with an opaque background, over top to hold content, that will
still
somewhat show my page background. How do I do this?
This is like asking for a watertight sieve. You ought to look up "opaque" in
the dictionary.

Anyway, you can specify either that a background have a color OR that it be
transparent, not both. You can try using a background image with a lot of
transparency, or a background image designed to look like the page's
background image as seen through a transparent color filter.



Reply With Quote
  #4  
Old   
Tania
 
Posts: n/a

Default Re: Opaque background on table - 11-20-2004 , 07:42 AM



So how can I have an area with text in it, that one can read over the scenic
background?

"Chris Leipold" <cleipold (AT) dietzk (DOT) de> wrote

Quote:
Hi Tania,

I have a scenic picture for the background of a page. I would like to
make a
table, with an opaque background, over top to hold content, that will
still
somewhat show my page background. How do I do this?
If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris



Reply With Quote
  #5  
Old   
Els
 
Posts: n/a

Default Re: Opaque background on table - 11-20-2004 , 08:00 AM



Tania wrote:

Quote:
"Chris Leipold" <cleipold (AT) dietzk (DOT) de> wrote in message
news:305pmoF2s6kdjU1 (AT) uni-berlin (DOT) de...

Hi Tania,

I have a scenic picture for the background of a page. I
would like to make a table, with an opaque background,
over top to hold content, that will still
somewhat show my page background. How do I do this?

If you "would like to make a table, [...] to hold
content", you're wrong here, I guess.
If you give the table a background, it will coceal the
page-background, unless you use a (semi-)transparent
table-background-image.

So how can I have an area with text in it, that one can
read over the scenic background?
By setting the background of the text to transparent.
Just make sure that the scenic background has enough contrast
with the text to be able to read it properly.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Pink Floyd - Money


Reply With Quote
  #6  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Opaque background on table - 11-20-2004 , 12:03 PM



"Tania" <taniaj (AT) nospam (DOT) com> wrote:

Quote:
So how can I have an area with text in it, that one can read over the scenic
background?

"Chris Leipold" <cleipold (AT) dietzk (DOT) de> wrote in message
news:305pmoF2s6kdjU1 (AT) uni-berlin (DOT) de...
Hi Tania,

I have a scenic picture for the background of a page. I would like to
make a
table, with an opaque background, over top to hold content, that will
still
somewhat show my page background. How do I do this?
Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.

As to your question: background: transparent; ("transparent" is the
opposite of "opaque").

Quote:
If you "would like to make a table, [...] to hold content", you're wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris


--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.


Reply With Quote
  #7  
Old   
Christoph Paeper
 
Posts: n/a

Default Re: Opaque background on table - 11-20-2004 , 02:31 PM



*Tania* <taniaj (AT) nospam (DOT) com>:
Quote:
I have a scenic picture for the background of a page. I would like to
make a table, with an opaque background, over top to hold content, that
will still somewhat show my page background. How do I do this?
Certainly not with an opaque background for the table, but with a
semi-transparent one. In CSS2 that can only be done with a 'transparent'
'background-color' and a 'background-image' in a format that supports more
advanced than binary transparency (like PNG, "alpha channel").

With the CSS*3 module Color (<http://www.w3.org/TR/css3-color/>) there are
almost certainly coming ways to give background color an alpha value
('rgba()', 'hsla()'¹) or to give the whole box a reduced 'opacity', thus
removing the need for a second background image.

¹ <rant>In a quite unintuitive way, which seems to be what graphics
designers like to use²: the alpha value is always given as a float between
0 and 1, not a percentage, which would be the established CSS way, and
neither in the same way as the color components, i.e. 'rgba(255, 127, 0,
255)', 'rgba(100%, 50%, 0%, 100%)', '#F70F', '#FF7F00FF' would---despite
being logic assumptions---all be incorrect (well, the first one would
probably be shaped to 'rgba(255, 127, 0, 1.0)'.</rant>
² <rant>See the unsystematic color names of that very draft.</rant>

--
"Anyone who slaps a 'this page is best viewed with Browser X' label on a
Web page appears to be yearning for the bad old days, before the Web, when
you had very little chance of reading a document written on another computer,
another word processor, or another network." Tim Berners-Lee, 1996


Reply With Quote
  #8  
Old   
Tania
 
Posts: n/a

Default Re: Opaque background on table - 11-21-2004 , 09:39 AM




"Harlan Messinger" <hmessinger.removethis (AT) comcast (DOT) net> wrote

Quote:
"Tania" <taniaj (AT) nospam (DOT) com> wrote:

So how can I have an area with text in it, that one can read over the
scenic
background?

"Chris Leipold" <cleipold (AT) dietzk (DOT) de> wrote in message
news:305pmoF2s6kdjU1 (AT) uni-berlin (DOT) de...
Hi Tania,

I have a scenic picture for the background of a page. I would like to
make a
table, with an opaque background, over top to hold content, that will
still
somewhat show my page background. How do I do this?

Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.

As to your question: background: transparent; ("transparent" is the
opposite of "opaque").

If you "would like to make a table, [...] to hold content", you're
wrong
here, I guess.
If you give the table a background, it will coceal the page-background,
unless you use a (semi-)transparent table-background-image.

Chris



--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Hey Harlan, you really might want to remove that stick out of your ass. All
I asked for was some help and you've been nothing but rude. Oh, and you
might want to look THAT up in the dictonary.




Reply With Quote
  #9  
Old   
Neal
 
Posts: n/a

Default Re: Opaque background on table - 11-21-2004 , 10:47 AM



On Sun, 21 Nov 2004 15:39:33 GMT, Tania <taniaj (AT) nospam (DOT) com> wrote:

Quote:
Please don't top-post. You can see from this what a nuisance it is to
follow a thread when people write their responses out of order with
the earlier messages. Write your response at the bottom, or underneath
the part of the earlier message(s) to which it pertains.

Hey Harlan, you really might want to remove that stick out of your ass.
If he has one there, I probably agree. It's a pain in the ass.

Quote:
All
I asked for was some help and you've been nothing but rude.
Nothing but rude would imply "never helpful". He did mention "transparent"
which is what you're looking for, so I doubt your assertion.

BTW, your bottom post was quite easy to find and reply to, thanks. One
other tip - trim parts of the post irrelevent to your next bit. Reduces
bandwidth and the detective-ness you and I must use when reading.

These conventions don't exist to bully new posters, they exist to
facilitate the process. Hope you appreciate that.


Reply With Quote
  #10  
Old   
Tania
 
Posts: n/a

Default Re: Opaque background on table - 11-21-2004 , 12:17 PM



Quote:
These conventions don't exist to bully new posters, they exist to
facilitate the process. Hope you appreciate that.
You obviously didn't see his other message. Anyway, I know now not to look
here for help. Thanks.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.