• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Tables > Setting Background Colors

Setting Background Colors

All parts of a table have a background. The initial value of background is transparent, but all elements – cells, rows, row groups, columns, column groups, and of course the table itself – can be given a color and a background image. Here is an example in which a row, a column, and a cell have been given a background color:

<TABLE>
  <COL CLASS="a"><COL CLASS="b">
    <COL CLASS="c"><COL CLASS="d">
  <TR CLASS="a"><TD>aa <TD>ab <TD>ac <TD>ad
  <TR CLASS="b"><TD>ba <TD>bb <TD>bc <TD>bd
  <TR CLASS="c"><TD ID="c1">ca <TD>cb <TD>cc <TD>cd
  <TR CLASS="d"><TD>da <TD>db <TD>dc <TD>dd
</TABLE>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint