mboehler3 Posted October 15, 2009 Share Posted October 15, 2009 I have a div class set up like so: .footerTopGreenBar {background-color:#556c1a; width:100%; height:1px;} However in IE6, it shows this:Obviously not 1 pixel tall. I change the CSS to 10px and it stays the same height in my browser. Has anyone noticed this before and can possibly provide a solution? Link to comment Share on other sites More sharing options...
joe124c41 Posted October 15, 2009 Share Posted October 15, 2009 Have you tried using a spacer gif? You could set the image size to 1px, insert the image and this should work. You can set it to repeat whatever width you need also using the background property. Link to comment Share on other sites More sharing options...
dsonesuk Posted October 15, 2009 Share Posted October 15, 2009 set the font size to zero, font-size:0px; Link to comment Share on other sites More sharing options...
mboehler3 Posted October 15, 2009 Author Share Posted October 15, 2009 set the font size to zero, font-size:0px;That sounds like it would work, but it doesn't.I like the idea of using an image, but it creates an unwanted break for everything below.There has to be some way to get this to work... Link to comment Share on other sites More sharing options...
mboehler3 Posted October 15, 2009 Author Share Posted October 15, 2009 That sounds like it would work, but it doesn't.I like the idea of using an image, but it creates an unwanted break for everything below.There has to be some way to get this to work...aha... line-height:0;Why do people still use IE6????????????? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.