jmeanor
03-27-2006, 01:33 AM
Ok, this is about my 3rd question with the navigation box thing lol.
I have this CSS Code for my navigation bar,<style type="text/css">
a.nav_link:link {
display:block;
margin-bottom: 0px;
margin-top: 0px;
width:120px;
height:15px;
text-decoration:none;
background-color:#99CC33;
color:white;
}
a.nav_link:hover {
background-color:#6699CC;
margin-bottom: 0px;
margin-top: 0px;
color:white;
font-weight: bold;
}
a.nav_link:visited {
display:block;
margin-bottom: 0px;
margin-top: 0px;
width:120px;
height:15px;
text-decoration:none;
background-color:#99CC33;
color:white;
}
</style>
And I want to get the boxes about 1 pixel apart if any at all. Right now they are too far apart and it taking up too much space, take a look, click here. (http://www.jmeanor.info)
I've been told to use the margin property and i've been googling it for days now and it's still not working correctly. Can someone help me out? Thanks! :D
I have this CSS Code for my navigation bar,<style type="text/css">
a.nav_link:link {
display:block;
margin-bottom: 0px;
margin-top: 0px;
width:120px;
height:15px;
text-decoration:none;
background-color:#99CC33;
color:white;
}
a.nav_link:hover {
background-color:#6699CC;
margin-bottom: 0px;
margin-top: 0px;
color:white;
font-weight: bold;
}
a.nav_link:visited {
display:block;
margin-bottom: 0px;
margin-top: 0px;
width:120px;
height:15px;
text-decoration:none;
background-color:#99CC33;
color:white;
}
</style>
And I want to get the boxes about 1 pixel apart if any at all. Right now they are too far apart and it taking up too much space, take a look, click here. (http://www.jmeanor.info)
I've been told to use the margin property and i've been googling it for days now and it's still not working correctly. Can someone help me out? Thanks! :D