Hallo!
Ich möchte ein Layout mit AP-Elementen umsetzen. Nun bleibe ich gleich zu Beginn hängen. Warum "wächst" der Hauptcontainer nicht mit???
HTML-Code:
#d1 {
width: 500px;
margin: auto;
text-align: left;
position: relative;
}
#d2 {
position: absolute;
left: 17px;
top: 35px;
width: 220px;
}
<body>
<div id="d1">d1
<div id="d2">inhalt d2<br />
inhalt d2</div>
</div>
</body>
Kann mir da jemand einen Tipp geben???
Vielen Dank!!!