Forum Moderators: not2easy
body {margin:0; padding:0;}The HTML is like so:
DIV.links {position:absolute; top:100px; left:50px;}
BODY>DIV.links {position:fixed;}
.container {margin-left:320px;}
.body {border: thick solid red; margin:15px; padding:10px}
.floo {float:left; width:20%; margin:1%; padding:1%; text-align:center;}
.clear {clear:both; margin:0;}
<BODY>
<DIV CLASS="links">Navbar here.</DIV><DIV CLASS="container">
<DIV CLASS="header">Header here.</DIV>
<DIV CLASS="body">
<P>Blah blah blah.<DIV CLASS="floo"><A href="xyz" [[JavaScript here.]]><IMG SRC="xyz"></A><BR>Caption.</DIV>
<DIV CLASS="floo"><A href="xyz" [[JavaScript here.]]><IMG SRC="xyz"></A><BR>Caption.</DIV>
<DIV CLASS="floo"><A href="xyz" [[JavaScript here.]]><IMG SRC="xyz"></A><BR>Caption.</DIV>
[And so on, a pageful of DIVs.]<P class="clear">Clearing paragraph.
</DIV></DIV></BODY>
¦--------------------------------¦
¦ .... ¦ ........header......... ¦
¦ .... ¦ ._____________________. ¦
¦ link ¦ ¦ Blah blah.......... ¦ ¦
¦ link ¦ ¦ .__. .__. .__. .__. ¦ ¦
¦ .... ¦ ¦ ¦__¦ ¦__¦ ¦__¦ ¦__¦ ¦ ¦
¦ .... ¦ ¦ cap. cap. cap. cap. ¦ ¦
¦ .... ¦ ¦ .__. .__. .__. .__. ¦ ¦
¦ .... ¦ ¦ ¦__¦ ¦__¦ ¦__¦ ¦__¦ ¦ ¦
¦ .... ¦ ¦ cap. cap. cap. cap. ¦ ¦
¦ .... ¦ ¦ Clearing paragraph. ¦ ¦
¦ .... ¦ ¦_____________________¦ ¦
¦ .... ¦ ....................... ¦
¦ .... ¦ ....................... ¦
¦--------------------------------¦
In IE6, the whole block of thumbnails is shifted slightly to the right, so it's slightly indented on the left and slightly overlapping the border of the "body" DIV on the right hand side of the page. It's very noticeable if you add a colored border to the "floo" (thumbnail) class in the stylesheet. Is there any way to fix this in IE without breaking it in Mozilla? I'd like to keep the same basic style if possible, so that if the window's resized, the thumbnails just shift down (to three columns or two or whatever).