hi,
Die Kombination aus relative und absolute kommt daher, dass dieser div über dem inhalt liegen muss und eben mitgescrollt werden muss. Wie gesagt, im Firefox kein Problem, IE macht das garnet.
Die relative Positionierung allein ist schon das Problem.
IE6 bug with overflow and position:relative
"This page demonstrates a bug in Windows Internet Explorer 6 strict/transitional modes which causes relative positioned content to spill outside of an overflow constricted container. [...]
This bug does not appear in quirks mode, which is the only known workaround (to this author) at this time."
Was für ein Glück, das wir uns nicht nur auf das verlassen müssen, was dieser Autor "at this time" wusste - position:relative and overflow in Internet Explorer berichtet vom gleichen Problem, und liefert auch den simplen Workaround gleich mit:
"To solve this, I added position:relative to the container. This seems to work for both IE6 and 7."
Ja, Google ist was feines. Probiere doch bei Gelegenheit auch mal aus, ob du nicht doch in der Lage bist, es zu benutzen.
gruß,
wahsaga
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }