Kategorie: Blog::Web-Entwicklung::CSS
erstellt am 21.07.2008 um 12:45h - 0 Kommentare
Margin: auto Problem im Internet Explorer
Wenn man einen Inhalt (oder eine Box) im Browser zentrieren möchte, kann man das das CSS-Attribut margin: auto; benutzen.
#centertext
{
margin: auto;
width: 250px;
}
Leider kommt es häufig vor, dass der Internet Explorer im Quirks-Modus[1] läuft, dann wird das margin: auto; nicht Ganzen Artikel Margin: auto Problem im Internet Explorer lesen
