There you have an image of my issue. See that navigation panel hanging below the header? You can clearly see that there's a space between each link button. I really don't want that! Please help..
As you are using inline-block, the browser treats each inline block element as though it where a character in a sentence, giving it a little bit of space. The above trick removes that space so that inline-block elements sit right up against one another.
@TheDoc Do you find that using that technique is blurring the lines between content and style? For me, I would rather not have to alter my markup so that a CSS technique works. Either way, it is a valid solution, I'm just interested in your thoughts on the matter!
With that being said, another, perhaps more readable option (valid in HTML5) is this:
@joshuanhibbert something about doing font-size: 0; just doesn't sit right with me. I get that it works, I just don't think it makes sense when somebody is reading code.
Either way, I updated a lot of the markup to remove the divs and spans that were in there.
There you have an image of my issue. See that navigation panel hanging below the header? You can clearly see that there's a space between each link button. I really don't want that! Please help..
inline-blockand not justblock? Either way, giving themfloat:left;will probably help.Also, I had a similar problem recently and there was a lively discussion of the relative merits of various methods here: http://css-tricks.com/forums/discussion/18595/displayinline-block-on#Item_17
As you are using inline-block, the browser treats each inline block element as though it where a character in a sentence, giving it a little bit of space. The above trick removes that space so that inline-block elements sit right up against one another.
Make sure there are no spaces between your inline-block elements.
With that being said, another, perhaps more readable option (valid in HTML5) is this:
P.S. Can we just have a decent layout model that is widely supported already…
Either way, I updated a lot of the markup to remove the divs and spans that were in there.
j/k