: How do I get rid of unwanted gaps in a horizontal navigation bar? That was my question, in the form of a question. Fortunately, I've already whipped up some code and can only point you to
That was my question, in the form of a question.
Fortunately, I've already whipped up some code and can only point you to errors in the html.. although I don't know what they are. Here's what I've got:
cssdesk.com/uDaLg
When the extra navigation links (which would normally be characterized by line breaks) are laid out in my navigation bar, my html puts a gap in the padding on the right side. I have highlighted the background in case you're overly skeptical that it is in fact my css. Of course, you can also go and view the css for yourself.
More posts by @Nimeshi995
1 Comments
Sorted by latest first Latest Oldest Best
There is always a gap between inline elements like spans. There are a couple of ways to get rid of the space. You can put all the spans on one line or you can do something like this to hack it:
<span><a href="#">Link</a></span><!--
--><span><a href="#">Link</a></span><!--
--><span><a href="#">Link</a></span>
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.