Very basic error that I still do not understand, I have unordered list for my nav bar.
Ideally I would just set a width of them but that does not seem to work, last time I did this on my .co.uk site and it worked. But I am following everything from my site and it does not work.
it is viewable here http://www.preciseformwork.co.uk/new-site/index1.htm
any input appreciated.
html
css
Ideally I would just set a width of them but that does not seem to work, last time I did this on my .co.uk site and it worked. But I am following everything from my site and it does not work.
it is viewable here http://www.preciseformwork.co.uk/new-site/index1.htm
any input appreciated.
html
HTML:
<ul id="nav-list">
<li><a href="index.htm">home</a></li>
<li><a href="services.htm">services</a></li>
<li><a href="gallery.htm">previous jobs</a></li>
<li><a href="links.htm">links</a></li>
<li><a href="http://www.preciseformwork.co.uk/wordpress">blog</a></li>
<li class="no-pad"><a href="contact.htm">contact us</a></li>
</ul>
Code:
#nav-list {
position:absolute;
padding:0;
margin:0;
}
#nav-list li{
position:relative;
display:inline;
padding:0 80px 0 0;
margin:0;
}
.no-pad li{
padding:0;
margin:0;
}
#nav-list a {
text-decoration:none;
font-family: "Lucidia Grande", "Lucida Sans Unicode", "Verdana", sans-serif;
font-size: 20px;
margin:0;
padding:0;
}