Attribute for <TR ...>
BGCOLOR = color expression
<TR ...>BGCOLORBGCOLORFor example, this code sets the background color of the first row to a light brown:
| this code | produces this | ||||
<TABLE CELLPADDING=8> <TR BGCOLOR="#CCCC99"> <TD>lemons</TD> <TD>grapefruit</TD> </TR> <TR> <TD>bananas</TD> <TD>pineapple</TD> </TR> </TABLE> |
|
MSIE and Netscape render row background colors differently if
CELLSPACING
| this code | produces this | ||||
<TABLE CELLPADDING=8 BORDER=2> <TR BGCOLOR="#CCCC99"> <TD>lemons</TD> <TD>grapefruit</TD> </TR> <TR> <TD>bananas</TD> <TD>pineapple</TD> </TR> </TABLE> |
|
Copyright 1997-2002 Idocs Inc.
