Publish and Be... | |
...Tabular! |
You can set a background colour for an entire table, or for individal cells. In Internet Explorer (but not Navigator) you can also give tables and cells graphical backgrounds.
To set a background colour for an entire table:
Publish | And | Be... |
Tabular! | PC Plus |
Add a bgcolor= attribute to the <table> tag, like this:
<table border="1" width="300" bgcolor="cyan">
To set background colours for individual cells:
Publish | And | Be... |
Tabular! | PC Plus |
Add bgcolor= attributes to the individual cell (<TD>) tags like this:
<td bgcolor="red">Note that if you add bgcolor= to the table's first <TD> (the top left cell), then that colour will also be applied to any other cells which don't have their own bgcolor= attributes.
(4.0) You can also give tables and cells graphical (image) backgrounds:
To set a graphical background for an entire table...
Hey | Man | Everything's |
Far | Out! |
... add a background= attribute to the <TABLE> tag to tile the image across the whole table, like this:
<table border="1" background="bg1.gif">(if the image is smaller than the table, it's tiled; if it's larger, then it's cropped)
To set background images for individual cells...
Hey | Man | Everything's |
Far | Out! |
... add background= attributes to individual <TD> tags, like this:
<td width="33%" align="center" background="bg1.gif">