Hi,
<div style='position:absolute; top:100px; left:100px; height:400px; width:400px; background-color:red;'>
[...]
<div style='position:absolute; top:0px; left:180px; width:40px; background-color:yellow;'>hoch</div>
[...]
</div>Jetzt ist das äußere nicht mehr static, sondern absolute (relative ändert auch nichts am Problem) und der innere sollte sich jetzt jetzt doch "gemessen am Rand des nächsthöheren Vorfahrenelements" orientieren. Stattdessen ist der Div "hoch" komplett verschwunden
Wieso soll der "verschwunden" sein?
Ich sehe ihn im Firefox genau dort, wo du ihn positioniert hast - 180px von Links und 0px von oben, ausgerichtet am Viewport.
MfG ChrisB
--
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."
"The Internet: Technological marvel of marvels - but if you don't know *what* you're lookin' for on the Internet, it is nothing but a time-sucking vortex from hell."