Give a Table Cell a Background Color Would you like to give a particular table cell a different background color? Just use the <TD BGCOLOR ="color"> tag instead of <TD> when defining a table cell. Replace "color" with either an RGB color or color literal, such as "white" or "red". Just make sure to never leave a table cell blank or Netscape may render it incorrectly (look at the tip "Tables Not Rendering Correctly in Netscape" in this category for more information).
Add:
Del.icio.us |
Digg |
Furl |
My Yahoo!
Discuss This Tip
Print This Tip
Get E-Mail When New Tips are Online
Return to the Web Development - Tables page. |