jdmartin74
Programmer
I'm hoping this is an easy question, but I'm not sure what I'm trying is possible or not. No matter how much reading I do, I can't find the answer.
I have a table, as follows:
<table class='report'>
<tr>
<th>Column heading 1</th>
<th>Column heading 1</th>
<th>Column heading 1</th>
</tr>
<tr>
<td>data etc...</td>
<td>data etc...</td>
<td>data etc...</td>
</tr>
</table>
The style sheet is:
th.report {font-family: Verdana; font-size:8pt; font-weight:bold; color: #555555; background:#DDDDDD }
My problem is that the style for the <th> tags is not picked up. If I change my code to <th class='report'> it works fine, but I don't really want to have to put the 'class' call in each cell. Shouldn't the fact that the table is in the class filter down?
I would appreciate any help!
Thanks
Jonathan.
I have a table, as follows:
<table class='report'>
<tr>
<th>Column heading 1</th>
<th>Column heading 1</th>
<th>Column heading 1</th>
</tr>
<tr>
<td>data etc...</td>
<td>data etc...</td>
<td>data etc...</td>
</tr>
</table>
The style sheet is:
th.report {font-family: Verdana; font-size:8pt; font-weight:bold; color: #555555; background:#DDDDDD }
My problem is that the style for the <th> tags is not picked up. If I change my code to <th class='report'> it works fine, but I don't really want to have to put the 'class' call in each cell. Shouldn't the fact that the table is in the class filter down?
I would appreciate any help!
Thanks
Jonathan.