htmlvisitor
Neues Mitglied
Hallo
Im IE6 ist das div (rot) höher als die definierten 500px.
Wie lässt sich das korrigieren?
Patrick
Code:
<body style="margin-top: 0px">
<div style="background-color: #CCFFFF; width: 960px; height: 900px; margin-left: auto; margin-right: auto; margin-top: 0px">
<div style="width: 960px; background-color:blue; height:500px;">
<div style="width: 960px; height: 5px; background-color: #FFFFCC; font-size: 0px">
</div>
<div style="width: 960px; height: 62px; background-color: #CC99FF">
</div>
<div style="position: relative; width: 489px; height: 318px; z-index: 1; left: -21px; top: 52px; background-color: #ffffff; border: 1px solid #5D5D5D;">
</div>
<div style="position: relative; width: 489px; height: 318px; z-index: 2; left: 490px; top: -223px; background-color: #ffffff; border: 1px solid #5D5D5D;">
</div>
</div>
</div>
Im IE6 ist das div (rot) höher als die definierten 500px.
Wie lässt sich das korrigieren?
Patrick
Code:
<body style="margin-top: 0px">
<div style="background-color: #CCFFFF; width: 960px; height: 900px; margin-left: auto; margin-right: auto; margin-top: 0px">
<div style="width: 960px; background-color:blue; height:500px;">
<div style="width: 960px; height: 5px; background-color: #FFFFCC; font-size: 0px">
</div>
<div style="width: 960px; height: 62px; background-color: #CC99FF">
</div>
<div style="position: relative; width: 489px; height: 318px; z-index: 1; left: -21px; top: 52px; background-color: #ffffff; border: 1px solid #5D5D5D;">
</div>
<div style="position: relative; width: 489px; height: 318px; z-index: 2; left: 490px; top: -223px; background-color: #ffffff; border: 1px solid #5D5D5D;">
</div>
</div>
</div>