Hallo,
weiß jemand warum man im Firefox kein margin-top angeben kann, oder
mach ich nur etwas falsch:
Beim folgenden Script wird margin-top vom Firefox komplett ignoriert, aber beim IE gehts einwandfrei:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Unbenanntes Dokument</title>
<style>
.a {
background-color:#000066;
height:300px;
width:300px;
}
.b {
background-color:#00FF66;
height:200px;
width:200px;
margin:50px;
}
</style>
</head>
<body>
<div class="a">
<div class="b"></div>
</div>
</body>
</html>