This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > July 2004 > formating table transparent





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author formating table transparent
Markus Pfeifenberger - pmcweb.at

2004-07-30, 12:16 pm

Hi,
i have the following problem:
in the css file i format the <td> background of a <table> default as
red:
td { background-color : #FF0000;}

is it possible and if yes how to define a class of td, lets say
td.trans , where the red background is overruled as transparent?

td.trans {background-color : ???;}

Thanks Markus
Chris Morris

2004-07-30, 12:16 pm

pfeifi@gmx.net (Markus Pfeifenberger - pmcweb.at) writes:
> in the css file i format the <td> background of a <table> default as
> red:
> td { background-color : #FF0000;}


You should include a color: specification in that style rule too.

> is it possible and if yes how to define a class of td, lets say
> td.trans , where the red background is overruled as transparent?
>
> td.trans {background-color : ???;}


td.trans {background-color: transparent;}

Won't work in Netscape 4 (it'll interpret it as background-color: #00a000a;)

--
Chris
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews