Probleme mit Seitendarstellung

[quote=„marvink1993“]
Bitte um Hilfe![/quote]

Kommt mir so vor: …hier is der code jetzt mach mal :ps: :ps: :ps:

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #444444;
margin: 0px;
padding: 0px;
background: #000000;
text-align: justify;
}

würde ich zu:

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #444444;
margin-left: auto;
margin-right: auto;
padding: 0px;
background: #000000;
text-align: justify;
}

machen…

Edit: ups das „body {“ fehlte :astonished:

kann ja nicht… marvink1993.bplaced.de/test/style.css

Füge noch evtl.

margin-left: auto:
margin-right: auto;

bei: #navigation, #page, #logo, #content und #footer ein.

aber das margin: 0px; muss raus ! :wink:

p.s: css4you.de

Hi,
ich würde auf jedenfall erstmal im body

zu

ändern.

Jetzt sind zwar alle Elemente mittig ausgerichtet, du must jetzt die Elemente, die nicht mittig ausgerichtet werden soll nach

ändern!

ciao, xcube

Weil du den IE in den Quirks Mode geschickt hast. Informiere dich ueber das Stichwort, und darueber, wie man ihn verlaesst - dann zentriert auch der IE block-Elemente korrekt per margin:auto

Die text-align-Variante braucht man hoechstens noch fuer IE < 6.

und noch ein kleiner Zusatztipp: validator.w3.org/check?verbose=1 … Findex.php