Jump to content

Ie6 Can't Display 1px In Height


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?

Edited by mboehler3
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.

Edited by joe124c41
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...