Frank: Anpassung des mittleren (nichtfloatenden) Blockelements

Beitrag lesen

Hallo!

Hi Frank!

Hast Du auch paddings genutzt?

Nö, eigentlich nicht:

#sidebar {
  clear: both; /* clear the header */
 float: left;
 width: 182px;
 padding-top: 17px;
 border-right: 1px solid #000000;
 border-bottom: 1px solid #000000;
}

#sidebar-2 {
 float: right;
 text-align: center;
 width: 220px;
 border-left: 1px solid #000000;
 border-right: 1px solid #000000;
 border-bottom: 1px solid #000000;
 margin-right: 51px; /* right border */
  padding-top: 17px;
}

#content {
 margin: 17px 280px 0px 190px; /* prevents floating below the sidebars */
 overflow: hidden;
}

Und wenn ich Dich richtig verstanden habe, dann hilft Dir folgendes Dokument weiter: Der Box-Modell-Fehler des Internet Explorers.

Nö, auch nicht. Ich habe ja geschrieben, dass das im IE richtig angezeigt wird (IE7).

Beste Grüße,
Ben