Hey there!
I have a div where I’m going to have a navigation menu with listed items in a unorderd list but when I have it inside the div, the div moves down like 30px or something.
This is my html
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/styles.css" rel="stylesheet" type="text/css">
<title>kwpwebdesign.se - Startsida</title>
</head>
<body>
<div id="upper">
<div id="innerupper">
<ul>
<li>Hem</li>
<li>Om mig</li>
<li>Tjänster</li>
<li>Kontakt</li>
<li>Övrigt</li>
</ul>
</div>
</div>
<div id="wrapper"></div>
</body>
</html>
And this is my CSS:
body {background-color:#FFFFFF; margin-top:0; margin-left:0; margin-right:0; }
#upper { height:70px; margin-left:auto; margin-right:auto; background-color:#990033; }
#innerupper { height:70px; margin-left:auto; margin-right:auto; width:1000px; }
#innerupper ul { list-style:none; }
#innerupper ul li { display:inline; margin-left:25px; }
#wrapper { margin-top:25px; height:800px; margin-left:auto; margin-right:auto; width:1000px; background-color:#CCCC99;}
I love all help!