Jump to content

Ie6 Can't Display 1px In Height


mboehler3

Recommended Posts

I have a div class set up like so:

.footerTopGreenBar {background-color:#556c1a; width:100%; height:1px;}

However in IE6, it shows this:1pxline.gifObviously 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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...