Posted by Jonathan N. Little on 08/14/07 13:56
Jukka K. Korpela wrote:
> The CSS counterpart to cellspacing="2" is border-spacing: 2px, but this
> isn't supported by IE.
>
Sure? Seem to work for me MSIE6 on Win2K
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>CSS vs Deprecated</title>
<style type="text/css">
table.css { border: 1px outset #000; border-spacing: 2px; }
table.css td { border: 1px inset #000; }
</style>
</head>
<body>
<table class="css">
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
</table>
<table border="1" cellspacing="2">
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><td>A</td><td>B</td><td>C</td><td>D</td></tr>
</table>
</body>
</html>
Change border-spacing to 5px and cellspacing to 5 and MSIE accommodates
just fine.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|