Forum Moderators: not2easy
<table bgcolor="#cccccc" id="newcolor">
and change the color in #newcolor in the stylesheet. However, this doesn't seem to change the table color.
So is there a way to change/override the table color in the table bgcolor attribute using CSS?
Thanks,
ew
Curious - Why not drop the bgcolor?
<head>
<style>
table#newcolor {
background-color: #999;
}
</style>
</head>
<body>
<table bgcolor="#cccccc" id="newcolor">
<tr>
<td>
test
</td>
<td>
test
</td>
</tr>
<tr>
<td>
test
</td>
<td>
test
</td>
</tr>
</table>
</body>