Hi all,
I have a table that I want to have it’s tableheaders placed in a class.
I don’t get the same results in using the CSS as when I’m not.
The colors are differenet.
See the border between text 5 and text 6 and compare
them to the border between text 2 and text 3.
Thanks for your help.
-Alon.
[CODE]
[FONT=arial][SIZE=1]
<html dir=”rtl”>
<head>
<title>Test of CSS</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1255″>
<meta http-equiv=”Pragma” content=”no-cache;”>
<meta http-equiv=”expires” content=”Thu, 1 October 1998 00:00:00 PST”>
<STYLE type=”text/css”>
<!–
.tablecell {
color: #000000;
text-decoration: bold;
background-color: #FFFFFF;
}
.tableheader {
color: #000000;
background-color: #000000;
border-color: #008080;
}
–>
</STYLE>
</head>
<body bgcolor=”#99CCFF” text=”#000000″>
<FONT face=”Arial” size=”1″>CheckForDeleteInventoryItem.php</font>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ style=”border-collapse: collapse” bordercolor=”#111111″ width=”660″ id=”AutoNumber1″>
<tr>
<td width=”14″> </td>
<td width=”818″>
<center>
<table border=”1″ cellpadding=”0″ cellspacing=”0″ style=”border-collapse: collapse” bordercolor=”#111111″ width=”632″ id=”AutoNumber2″ height=”21″>
<tr>
<th width=”117″ height=”19″ bgcolor=”#000000″ bordercolor=”#008080″>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 3</font></th>
<th width=”263″ height=”19″ bgcolor=”#000000″ bordercolor=”#008080″>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 2</font></th>
<th width=”60″ height=”19″ bgcolor=”#000000″ bordercolor=”#008080″>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 1</font></th>
</tr>
<tr>
<td width=”117″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”263″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”60″ height=”19″ bgcolor=”#FFFF00″>
</td>
</tr>
<tr>
<td width=”117″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”263″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”60″ height=”19″ bgcolor=”#FFFF00″>
</td>
</tr>
</table>
</center>
</td>
<td width=”20″> </td>
</tr>
</table>
<BR>
<BR>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ style=”border-collapse: collapse” bordercolor=”#111111″ width=”660″ id=”AutoNumber1″>
<tr>
<td width=”14″> </td>
<td width=”818″>
<center>
<table border=”1″ cellpadding=”0″ cellspacing=”0″ style=”border-collapse: collapse” bordercolor=”#111111″ width=”632″ id=”AutoNumber2″ height=”21″>
<tr>
<th width=”117″ height=”19″ CLASS=tableheader>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 6</font></th>
<th width=”263″ height=”19″ bgcolor=”#000000″ bordercolor=”#008080″>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 5</font></th>
<th width=”60″ height=”19″ bgcolor=”#000000″ bordercolor=”#008080″>
<font face=”Arial” size=”2″ color=”#FFFF00″>text 4</font></th>
</tr>
<tr>
<td width=”117″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”263″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”60″ height=”19″ bgcolor=”#FFFF00″>
</td>
</tr>
<tr>
<td width=”117″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”263″ height=”19″ bgcolor=”#FFFF00″> </td>
<td width=”60″ height=”19″ bgcolor=”#FFFF00″>
</td>
</tr>
</table>
</center>
</td>
<td width=”20″> </td>
</tr>
</table>
</table>
</body></html>
[/SIZE] [/FONT]