Forum Moderators: not2easy
I did run my css through the wc3's validator and it says that my document is fine. Everyone seems to say how Firefox is more wc3 compliant than IE, but in this case, I don't see that as true.
Any help with this would be greatly appreciated.
Thanks
It sounds like the validator made that up to make you a member here.
A table is a grid of cells and it is physically not possible to add margin to some cells without destroying the table's structure.
What you want is padding. You can add padding to any side of any cell.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style type="text/css">td {padding-right:2px}</style>
</head>
<body>
<table border="1" cellpadding="0"><tr><td>TEST</td><td>TEST</td></tr><tr><td>TEST</td><td>TEST</td></tr></table>
</body>
</html>