1 reply [Last post]
Last seen: 18 years 21 weeks ago
Joined: 2004-03-24
Posts: 2
Points: 0

Just come across the IE6/Win positioning problem with bottom: 0, documented at http://css.nu/pointers/bugs-ie.html and http://css.nu/pointers/ie-bug.html

...the positioned div always sits 1px inside the container.

There is no workaround suggested on http://css.nu/

Anybody got any suggestions?

Stu's picture
Bristol uk
Last seen: 18 years 30 weeks ago
Bristol uk
Joined: 2004-01-20
Posts: 282
Points: 0

CSS Positioning - bottom:0 - problem in IE6

This is sort of a bug as it is not always 1px inside.
If you resize the window you will find that the red line beneath the footer will vanish on every other pixel resize.

This is just the way that IE has chosen to work out the absolute position. Not very accurate, but there it is.
You can get rid of this by setting the bottom:-1px; but this will produce a vertical scroll bar on every other pixel resize.
You can get rid of the scroll bar by using overflow:hidden.

But I would tend to design around this and have colours that will not show this 'fault'

It's not what you do it's the way that you do it.
So do it with STYLE