Forum Moderators: open
table {
color:#fb0;
background:#000;
border:1px solid #fb0;
width:99%;
padding:0px;
}
div {
color:#fff;
background-color:#000;
border:1px #fb0 solid;
width:99%;
padding:0px;
}<table><tr><td>table</td></tr></table>
<div>div</div>
Why is the table wider than the div? How do I fix it? I'm trying to remove as many tables as possible & need the first to be a table to display info in a certain way, something I haven't managed with DIV's.
This seems to be a cross browser problem.
IE 6.0 renders the the div and the table with exactly the same width,
whereas Netscape 7.1 renders the table with the border inclusive and the div exclusive of the width.
birdbrain