Forum Moderators: not2easy

Message Too Old, No Replies

Table row and font color

Strange error.

         

texignweb

3:53 am on Nov 11, 2005 (gmt 0)

10+ Year Member



For some strange reason I can't get the font color to work correctly in the table row. It worked fine when doing individual cells but not rows. I set the color to white but it appears at default black.

css code...

.bodyarticle {
font-size: 11px;
background-color: #999999;
text-align: left;
text-indent: 4px;
display: table-row;
color: #FFFFFF;
}

table row...
<tr >
<td class="test">01-01-05</td>
<td>Article title goes here</td>
</tr>

bedlam

6:17 am on Nov 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is your sample pasted directly from the problem page? You have not applied the class shown in the css to any element shown in the markup.

Just in case it's not clear: the 'display:table-row' declaration in your css controls the display properties of whatever element it is applied to; it does not change the styles of any tr element...

-b