[RESOLVED] Unwanted spacing before 1px imgs in IE

Okay I have been working on a site for a little bit now for fun and as usual it views right in everything I have but IE. Well anyway I have about 4 places where I have 1px high images that repeat down to fill the background of a few div's, and IE adds about 3-5px of whitespace above it. It only occurs between the repeated 1px image and other images (as far as I can tell). I've made other sites though with the same repeated image method and had no problem at all. I've tried putting the padding to 0 and margins to 0 and still no effect. I've even tried negative margins still nothing. I've tried a few workarounds that I read about before but I either didn't implement them right or they didn't work. And yes it does this in all IE browsers even 7. It all validates. I have a second style sheet set up just in case I need to point IE to it like other sites I've done.<br />
<br />
<br />
Anyway heres my code if its not just a simple change.<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml"><br />
<br />
<head><br />
<title>Seth's Site of Computer Technology</title><br />
<meta name="Author" content="Seth Myhre" /><br />
<link rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.andrews.edu/~myhre/comp/learn/styles/style.css" /><br />
<br />
<!--[if lt IE 7]><br />
<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"styles/style_ie.css" /><br />
<![endif]--><br />
<br />
<!--[if lt IE 7.]><br />
<script defer type="text/javascript" src=http://www.webdeveloper.com/forum/archive/index.php/"http://www.andrews.edu/~myhre/comp/learn/scripts/pngfix.js"></script><br />
<![endif]--><br />
<br />
<base href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.andrews.edu/~myhre/comp/learn/" /><br />
</head><br />
<body><br />
<!--Javascript to change imgs on mouseover--><br />
<!-- To learn this script got to "http://www.draac.com/mouseover-text-image.txt" --><br />
<script type="text/javascript"><br />
if (document.images) {<br />
image0 = new Image<br />
image1 = new Image<br />
image2 = new Image<br />
image3 = new Image<br />
image4 = new Image<br />
<br />
image0.src = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/">http://www.webdeveloper.com/forum/archive/index.php/</a><!-- m -->"images/formated/blank.jpg"<br />
image1.src = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/">http://www.webdeveloper.com/forum/archive/index.php/</a><!-- m -->"images/formated/zip-100.jpg"<br />
image2.src = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/">http://www.webdeveloper.com/forum/archive/index.php/</a><!-- m -->"images/formated/zip-250.jpg"<br />
image3.src = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/">http://www.webdeveloper.com/forum/archive/index.php/</a><!-- m -->"images/formated/zip-750.jpg"<br />
image4.src = <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/">http://www.webdeveloper.com/forum/archive/index.php/</a><!-- m -->"images/formated/keyboard.jpg"<br />
}<br />
</script><br />
<!-- END Javascript END--><br />
<br />
<div id="site"><br />
<div id="title"><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/header.jpg" alt="" /><br />
</div><br />
<div id="sidebar"><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/complay_02.jpg" alt="" /><br />
<div id="picture"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"images/formated/blank.jpg" name="imagename" border="0" alt="" /><br />
</div><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/complay_07.jpg" alt="" /><br />
<div id="nav"><br />
<ul class="menu"><br />
<li><a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0)"<br />
onmouseover="document.imagename.src=http://www.webdeveloper.com/forum/archive/index.php/image1.src" onmouseout="document.imagename.src=image0.src">zip 100</a></li><br />
<li><a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0)"<br />
onmouseover="document.imagename.src=http://www.webdeveloper.com/forum/archive/index.php/image2.src" onmouseout="document.imagename.src=image0.src">zip 250</a></li><br />
<li><a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0)"<br />
onmouseover="document.imagename.src=http://www.webdeveloper.com/forum/archive/index.php/image3.src" onmouseout="document.imagename.src=image0.src">zip 750</a></li><br />
<li><a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0)"<br />
onmouseover="document.imagename.src=http://www.webdeveloper.com/forum/archive/index.php/image4.src" onmouseout="document.imagename.src=image0.src">keyboard</a></li><br />
<li>This is a listed item!</li><br />
<li>This is a listed item!</li><br />
<li>This is a listed item!</li><br />
<li>This is a listed item!</li><br />
</ul><br />
</div><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/complay_11.jpg" alt="" /><br />
</div><br />
<div id="body"><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/complay_03.jpg" alt="" /><br />
<div id="content"><br />
<p class="main">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is the future site of Seth Myhre's computer tips for those who don't get along with technology, but I'm having trouble with IE at the moment. Stupidest browser in the world.</p><br />
<br />
<!--put prev/back buttons here --><br />
<br />
</div><br />
</div><br />
<div id="footer"><br />
<img class="ie" src=http://www.webdeveloper.com/forum/archive/index.php/"images/footer.jpg" alt="" /><br />
</div><br />
</div><br />
</body><br />
</html><br />
<br />
<br />
And my css<br />
a:link {color: #000000}/* unvisited link */<br />
a:visited {color: #000000}/* visited link */<br />
a:hover {color: #000000}/* mouse over link */<br />
a:active {color: #000000}/* selected link */<br />
<br />
/* to make sure z-index is read properly in firefox dont use negative numbers 0=bottom higher numbers are top layers*/<br />
/* margin order is: top, right, bottom, left */<br />
<br />
* {margin: 0px; padding: 0px;}<br />
<br />
/* image classes */<br />
<br />
<br />
/* main text block */<br />
p.main {font-family: "comic sans MS"; text-align: justify; padding: 20px 40px 20px 20px}<br />
ul.menu {font-family: "comic sans MS"; list-style: none; padding: 20px}<br />
<br />
<br />
/* properties of containers that elements are placed in */<br />
<br />
/* page - DO NOT CHANGE - page */<br />
#site {width: 1000px; top: 0px; margin: 0px auto}<br />
#title {width: 1000px; top: 0px; margin: 0px; height: 90px; float: left}<br />
#sidebar {background-image: url('http://www.andrews.edu/~myhre/comp/learn/images/complay_13.jpg'); background-repeat: repeat-y; width: 285px; height: 720px; margin: 0px; float: left}<br />
#preview {width: 285px; margin: 0px; float: left}<br />
#picture {background-image: url('http://www.andrews.edu/~myhre/comp/learn/images/complay_04.jpg'); background-repeat: repeat-y; width: 285px; padding: 0px 0px 0px 20px}<br />
#sidenav {width: 285px; float: left}<br />
#nav {background-image: url('http://www.andrews.edu/~myhre/comp/learn/images/complay_09.jpg'); background-repeat: repeat-y; width: 285px; min-height: 400px; margin: 0px; padding: 0px 0px 0px 20px; float: left}<br />
#body {width: 715px; margin: 0px; float: left}<br />
#content {background-image: url('http://www.andrews.edu/~myhre/comp/learn/images/complay_05.jpg'); background-repeat: repeat-y; width: 715px; min-height: 700px; margin: 0px; float: left}<br />
#footer {width: 1000px}<!--content-->img {vertical-align:bottom;}<br />
<!-- m --><a class="postlink" href="http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_Gaps">http://developer.mozilla.org/en/docs/Im ... rious_Gaps</a><!-- m --><!--content-->Guess ill have to try that soon I don't have access to my site content right now.<!--content-->Thanks for the help that worked guess I'll have to add that to my list of things to look for when making things work in IE.<!--content-->Thanks for the help that worked guess I'll have to add that to my list of things to look for when making things work in IE.<br />
It also affects Fx<!--content-->It also affects Fx<br />
<br />
Well I didn't see it effect fx at all on any platform fx viewed it fine from the start. Though Still having an issue with ie6 and below where my text appears below the sidebar instead of to the side. I think that will be fixed with padding margin or div width changes, but I could be wrong on that.<!--content-->
 
Top