Table background color missing
-
I want to put a light background color in a table.
I suspect the same problem, whatever it is, is also preventing me from adding color to text.There was no background color shown when I coded it manually, so I put the table in Dreamweaver to see what the problem was, and it displays perfectly in DW. Here is the pertinent code:
<table width="90%" border="1" cellpadding="2"> <caption> Caption for the table </caption> <tbody> <tr> <th align="center" valign="middle" bgcolor="#F4BFC0" scope="col">Upper left</th> <th align="center" valign="middle" bgcolor="#F4BFC0" scope="col">Upper right</th> </tr> <tr> <td align="center" valign="middle" bgcolor="#F4BFC0">Lower left</td> <td align="center" valign="middle" bgcolor="#F4BFC0">Lower right</td> </tr> </tbody> </table>
The topic ‘Table background color missing’ is closed to new replies.