I'm quite puzzled about the following thing.
Why do I get a horizontal scrollbar with the following code:
<html>
<body>
<div style="padding-left: 20px; padding-right: 20px; width: 100%;">
<table width="100%">
<tr>
<td style="border: solid 2px fuchsia;">
</td>
</tr>
</table>
</div>
</body>
</html>
and not with the following code:
<html>
<body>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td style="padding-left: 20px; padding-right: 20px;">
<table width="100%">
<tr>
<td style="border: solid 2px fuchsia;">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
It does work as I'd expect with IE (6) and I've replaced it with the second
code. I'd just like to know why so I can take this into account on newer
projects and to better understand Firefox.
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout