hey guys,
I am learning how to design a website right now, and to get started I take layouts that still exists and replacet them.
I want to create a layout such such as that:
http://www.girlfriendnyc.com/
My code looks like that
My Problem is why do these 2 Boxes do not fit together?
greetings and thx in advance
I am learning how to design a website right now, and to get started I take layouts that still exists and replacet them.
I want to create a layout such such as that:
http://www.girlfriendnyc.com/
My code looks like that
Code:
#global {
background: none repeat ,#262626;
display: block;
height: 99px;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
#global .nav-wrapper {
background-color: #222222;
height: 99px;
margin: auto;
width: 1200px;
}
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="anna.css" />
</head>
<body>
<div id="global">
<div class="nav-wrapper">
<ul>
<li>
<h2> Contact us </h2>
</li>
<li>
<h2> Follow us </h2>
</li>
<li>
<h2> Read our blog </h2>
</li>
</ul>
<ul>
<li>
<h2> Learn about us </h2>
</li>
<li>
<h2> See our portfolio</h2>
</li>
</ul>
</div>
</div>
</body>
</html>
My Problem is why do these 2 Boxes do not fit together?
greetings and thx in advance
Last edited: