The code validates to HTML 4.01 Strict and the CSS is valid as well. I had a margin of 1em on div.thumb. With IE6 image #4 wasn't really floated right but positioned on row #2 right under image #3 above. I changed the margin on div.thumb to 0.5em and the problem went away until I added more thumbnail images then it reappeared. After even more images were added the problem also appeared in Opera.
I added borders to #main and to div.thumb to see what was going on. In IE the main div encloses the thumbnail links which it should. All the code in body is contained in div id="main". The screenshot is of Opera and you can see the main div doesn't enclose the images. However the images are positioned as if it did.
Also in IE6 the font in the H1 is certainly not times new roman while it appears correct in Opera. Any help will be appreciated.
Here's the embedded CSS:
body, html {color: #000000;
background: #ffffaa;
}
#main {width: 80%;
margin: auto;
border: 1px solid green;
}
div.thumb {float: left;
margin: 0.5em;
width: 165px;
border: 1px solid red;
}
div.thumb p {margin:0;
padding:0;
text-align: center;
}
h1 {font-family: "times new roman", serif;
text-align: center;
font-size: 200%;
margin-bottom: 1em;
}
a:link, a:visited, a:hover, a:active
{text-decoration: none;
}
img {border:0;}

