Tobias Klepp: Verschiebungen durch margin-Angaben im IE

Beitrag lesen

Hallösche,

hier ist der CSS-Code:

#content .rbcontent {
 margin: 0px;
 padding: 0px 5px 0px 11px;
}
#content .rbroundbox {
 width: 100%;
 background-color: #E7E7EF; /* gemadi-hellgrau */
 margin: 0px 0px 11px 0px;
 padding: 0px;
}

und hier das HTML-Gedöns:

<div class="rbroundbox">
<div class="rbcontent">

<h1>Box Label</h1>
<hr size="1" noshade>
<h1>Titel</h1>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">blah blah</td>
</tr>
</table>

</div>
</div>

Die Tabelle lappt jetzt aus dem Div heraus.