Warum ist der rechte (Text-)Block höher als der linke obwohl in beiden die gleiche height-Angabe (372px) erfolgt ist?
[code lang=html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
img#Bild {
float: left;
width: 515px height: 372px;
Diese Zeile wird vom Browser ignoriert
margin: 0; padding: 0;
border: 1px dashed silver;
}
div#Text {
margin-left: 515px;
height: 372px;
padding-left: 1em; padding-top: 80px;
border: 1px dashed silver;
}
</style>
mfg Beat