qew4785: Website mittig anzeigen lassen

Beitrag lesen

Hallo, ich hab folgenden CSS-Code geschrieben, und wollte jetzt erreichen, dass alles in der Mitte des Bildschirms steht. Wie erreiche ich das?

body{

background:#9ACD32;
color: #fff;
font-family: arial;

}

#navigation{
width: 900px;
height: 35px;

}
#navigation a{
width: 145px;
height: 35px;
display: inline-block;
color: #0000CD;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #A9A9A9;

}
#navigation a:Hover{
color: #CCFF33;

}
#navigation a.activ{
width: 145px;
height: 35px;

color: #000000;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #d7d7d7;

body{

background:#9ACD32;
color: #fff;
font-family: arial;

}

#navigation{
width: 900px;
height: 35px;

}
#navigation a{
width: 145px;
height: 35px;
display: inline-block;
color: #0000CD;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #A9A9A9;

}
#navigation a:Hover{
color: #CCFF33;

}
#navigation a.activ{
width: 145px;
height: 35px;

color: #000000;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #d7d7d7;

body{

background:#9ACD32;
color: #fff;
font-family: arial;

}

#navigation{
width: 900px;
height: 35px;

}
#navigation a{
width: 145px;
height: 35px;
display: inline-block;
color: #0000CD;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #A9A9A9;

}
#navigation a:Hover{
color: #CCFF33;

}
#navigation a.activ{
width: 145px;
height: 35px;

color: #000000;
text-align: center;
line-height: 35px;
font-size: 24px;
background: #d7d7d7;