I've been working through Lisa's CSS tutorials, which have been very useful.
I've set up the horizontal navigation section and added 4 links. These work fine, but whenever the mouse is moved over or the link, all the links seem to move to the right slightly
I'm not really sure why
Here is my css for the section concerned
.navlinks{
position:absolute;
top:4px;
left:240px;
}
.navlinks ul {
margin: auto;
}
.navlinks li {
margin: 0px 15px 0px 15px;
list-style-type:none;
display:inline;
}
.navlinks li a {
color:#000000
padding: 5px 12px 5px;
text-decoration:none;
font-size:16px;
font-family:Verdana;
font-weight:bold;
}
.navlinks li a:hover{
color:#cc0000;
padding:5px 12px 5px;
font-size:16px;
font-family:Verdana;
font-weight:bold;
background-color:blue;
}
Any help would be greatly appreciated