fishi
30. Januar 2009 um 20:18
1
[quote=„marvink1993“]
Bitte um Hilfe![/quote]
Kommt mir so vor: …hier is der code jetzt mach mal
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
fishi
30. Januar 2009 um 21:16
2
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 !
p.s: css4you.de
xcube
31. Januar 2009 um 09:36
3
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
chrisb
31. Januar 2009 um 13:48
4
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.