Wenn du position:absolute meinst dann nicht.
html, body {
margin:0 auto;
padding:0;
width:900px;
background:#CCC;
font-family: 'Lato', sans-serif;
}
nav {
height:50px;
width:900px;
background-color:#666;
-moz-box-shadow:-2px 0px 15px #292929; /* Firefox */
-webkit-box-shadow:-2px 0px 15px #292929; /* Chrome, Safari */
-khtml-box-shadow:-2px 0px 15px #292929; /* Konqueror */
box-shadow:-1px 0px 15px #292929; /* CSS3 */
}
nav ul{
margin:0 auto;
padding:0;
}
nav ul li {
list-style:none;
height:25px;
padding:15px 0 10px 0;
width:300px;
float:left;
text-align:center;
background:#666;
font-size:20px;
transition:all 400ms;
}
nav ul li ul {
top:50px;
border-right:1px
opacity:0;
overflow:hidden;
height:0;
}
nav ul li ul {}
nav ul li:hover ul {
height:auto;
opacity:1;
}
nav ul li:hover {
background:#BEBEBE;
}
nav ul a {
text-decoration:none;
color:#000;
}
#Container {
width: 900px;
margin-right: auto;
margin-left: auto;
background-color:#EEE;
-moz-box-shadow:-2px 0px 15px #292929; /* Firefox */
-webkit-box-shadow:-2px 0px 15px #292929; /* Chrome, Safari */
-khtml-box-shadow:-2px 0px 15px #292929; /* Konqueror */
box-shadow:-1px 0px 15px #292929; /* CSS3 */
}
Das ist mein stylesheet.