notarypublic
New Member
Some of the feedback for my current site is that there could be more spacing between the links in the navigation bar. It's constructed as an unordered list and uses CSS to hide and hover the drop-down menu items when the mouse moves over them.
I can change the width of the top link using a class, like
But by using a class this way they all end up the same length. I could use id's for each link, but that seems inefficient. Is there a way to append a set length of pixels at the end of the <li> before closing the </li> tag and starting the next one? I've tried setting different margins, using padding, spans.. No luck.
I can change the width of the top link using a class, like
Code:
.navBarTitle {
width: 5 em;
}
------
<li class = "navBarTitle"><a href = "#">Link</a></li>
But by using a class this way they all end up the same length. I could use id's for each link, but that seems inefficient. Is there a way to append a set length of pixels at the end of the <li> before closing the </li> tag and starting the next one? I've tried setting different margins, using padding, spans.. No luck.