View Single Post
Old 02-06-2005, 03:30 PM   #3 (permalink)
Wysocki
Recruit
 
Join Date: Jan 2005
Location: Covina, CA
Posts: 22
Wysocki is on a distinguished road
Thanks for the great solution! But I wanted the table to be a different color than the background. With your code, I went into the cells and added back the pale green color. When I saw the page it was an ugly yellow-green. Any idea why the color in the cells changed? Even with the cells set to #FFFFFF they are a deep yellow.

Code:
<html>

<html>
<head>
</head>
<body bgcolor="#EEFFEE">
<style>
<!--
  table, td {
    border: 1px solid #000;
    border-collapse: collapse;
  }
//-->
</style>
<table width="25%" border="0">
<tbody><tr>
    <th bgcolor="#CCFFCC width="50">a</th>
    <th bgcolor="#CCFFCC width="80">b</th>
</tr>
<tr>
    <td bgcolor="#CCFFCC width="50">1</td>
    <td bgcolor="#CCFFCC width="80">2</td>
</tr>
<tr>
    <td bgcolor="#CCFFCC width="50">3</td>
    <td bgcolor="#CCFFCC width="80">4</td>
</tr>
</tbody>
</table>
</div>
</body></html>
Wysocki is offline   Reply With Quote