robkar97
03-07-2008, 08:38 AM
Consider this CSS...
.cyan {background-color:#00ffff;}
BODY {background-color:#ffff00;}
... applied to this html
<table class="cyan">
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
</table>
This would render the headers with cyan background, like the entire table. But suppose I wanted the background headers to have a *transparent* background - and not only transparent = showing the table color (=cyan) but transparent as in showing the BODY background (=yellow)?
Can this be done?
Robert
.cyan {background-color:#00ffff;}
BODY {background-color:#ffff00;}
... applied to this html
<table class="cyan">
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Content</td>
<td>Content</td>
</tr>
</table>
This would render the headers with cyan background, like the entire table. But suppose I wanted the background headers to have a *transparent* background - and not only transparent = showing the table color (=cyan) but transparent as in showing the BODY background (=yellow)?
Can this be done?
Robert