Aqua: bei relative tut sich was....

Beitrag lesen

Hallo!

Wenn das untere Element auch "relative" ist,
und nicht wie gesamt absolute,
dann steht es aber doch wieder im Verehältnis zum
oberen.

Das rote DIV erscheint bei mir 50px UNTER dem gelben und 50px vom linken Browserrand entfernt.... Oder ist das logisch bei relative?
Ich weiß nicht,  das fällt mir schwer...

Danke!
Aqua

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<title></title>

<style type="text/css">
<!--
#oben
{
position:relative;
margin-left:300px;
margin-top:200px;
width:500px;
height:60px;
background-color:#ffcc00;
}

#unten
{
position:relative;
background-color:#ff0000;

width:100px;
height:100px;

top:50px;
left:50px;
}
-->
</style>

</head>

<body>

<div id="oben">Lorem Ipsum</div>
<div id="unten">dolar sit amet</div>

</body>

</html>