Moin :)
Komme nicht mehr weiter... ich möchte die meine Navigation gerne zentrieren.. doch es will einfach ned :( beim Header habe ich es exakt gleich gemacht und da ging es problemlos.
Die [COLOR=#000000][FONT=Menlo]ul#primary soll zentriert sein - also die Seiten... Anbei ein Screenshot was zentriert sein soll und der Code.
[/FONT][/COLOR]
Code
[COLOR=#000000][FONT=Menlo][COLOR=#777777][COLOR=black]div#top-menu[/COLOR][/COLOR] {
[/FONT][/COLOR]
[LIST]
[*][COLOR=#C80000]width[/COLOR]: 100%;
[*][COLOR=#C80000]height[/COLOR]: 5px;
[*][COLOR=#C80000]position[/COLOR]: relative;
[*][COLOR=#C80000]list-style-type[/COLOR]: none;
[*][COLOR=#C80000]left[/COLOR]: 0px;
[*][COLOR=#C80000]line-height[/COLOR]: 37px;
[*][COLOR=#C80000]margin-top[/COLOR]: 110px;
[*][COLOR=#C80000]background[/COLOR]: -webkit-linear-gradient(#FFF 0%, #FAFAFA 100%);
[*][COLOR=#C80000]text-align[/COLOR]: center;
[*][COLOR=#C80000]z-index[/COLOR]: 3;
[*][COLOR=#C80000]padding-top[/COLOR]: 51px;
[/LIST]
[COLOR=#000000][FONT=Menlo]}[/FONT][/COLOR]
Alles anzeigen