Hi,
ich habe mir mit php und div-Objekten eine Website gebastelt.
Das "main-div" (da wo der eigentliche Inhalt angezeigt wird) ist wie folgt formatiert:
.main {
top: 150px;
left: 230px;
width: expression((document.body.clientWidth - 250) + "px");
position: absolute;
padding: 10px;
margin-bottom: 20px;
background-image: url(../_images/bg-grau-hell.bmp);
background-repeat: repeat;
border: 2px solid White;
color: black;
}
Wenn der Inhalt in diesem div-Objekt die normale Browserhöhe übersteigt sieht man den unteren Rand nicht mehr...
Ich würde aber gerne unter dem div-Objekt noch ein Rand haben (oder evtl. eine Zeile positionieren.)
Mit margin-bottom: 20px; entsteht da auch kein Rand.
Danke Gruß Tino