I'm trying to space the links out my navbar so it's more spread out and not hidden under the logo but no matter what I try it won't work. I have the logo in middle of the navbar, the link end up going behind it and everytime I try padding or margin it doesn't work at all. It has been frustrating me way to much and I can't find out what it is at all. Please help me find the solution.
HTML: [Removed all the code found in ]
<body>
<header>
<div class="container">
<h1 class="logo">
<a href "#featured" rel="slideto">Wisp</a></h1>
<nav>
<ul class="main-menu">
<li class="About"></li>
<a href="#About" rel="slideto">Services</a>
<li class="Services"></li>
<a href="#Services" rel="slideto">Work</a>
<li class="Work"></li>
<a href="#Work" rel="slideto">About</a>
<li class="Contact"></li>
<a href="#Contact" rel="slideto">Contact</a>
</ul>
</nav>
<div id="motto">
<span class="alignleft">Born To</span>
<span class="Star"></span>
<span class="alignright">D</span>
</div>
</div>
</header>
<div id="featured">
<div class="container">
Css:
@import url(http://fonts.googleapis.com/css?family=Droid+Sans|Istok+Web|Roboto);
body{
background: #8AC9D0;
text-decoration: none;
color: #fff;
font: 'Droid Sans', sans-serif;
}
a{
text-decoration:none;
}
.container {
width: 921px;
margin: 0 auto;
position:relative;
}
header{
width:100%;
height:124px;
background:url('headerbg.png') repeat-x top center;
position:fixed;
top:0; left:0;
z-index:9999;
}
header .logo{
margin: 0;
position: absolute;
top: 0;
left: 50%;
width: 166px; height: 120px;
margin-left:-88px;
display:block;
text-indent:-9999em;
}
header .logo a {
width:166px; height:120px;
display:block;
background:url('logo.png') no-repeat top center;
}
nav{
padding:25px 0 0 0;
}
ul{
list-style-type:none;
margin-right:30px;
}
.main-menu{
width:100%;
height:43px;
background:url('menubg.png') no-repeat top center;
padding:10px 0 0 0;
}
.main-menu a{
float: left;
font-size:16px;
color:#6f6353;
font-family: 'Droid Sans', sans-serif;
text-transform:uppercase;
text-decoration:none;
line-height:34px;
display: block;
text-align:center;
letter-spacing:2px;
padding:0 40px;
overflow:hidden;
}
.main-menu a:hover{
background:#e6e2dc;
}
#motto{
width:390px; height:23px;
background:#fff;
text-align:center;
border:1px solid #98b5b8;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
position:absolute;
top:107px; left:50%;
margin-left:-199px;
}
#motto span{
font-size:10px;
color:#6f6353;
font-family: 'Roboto', sans-serif;
letter-spacing:4px;
text-transform:uppercase;
padding:4px 0 0 0;
}
#motto span.alignleft{
padding-right:10px;
margin-left:-50px;
}
#motto span.alignright{
padding-left:10px;
margin-right:-63px;
}
#motto span.Star{
width:14px; height:14px;
background:url('slogan-star.jpg') no-repeat top center;
position:absolute;
left:50%;
top:4px;
}