Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Newbie at CSS could use some help Re: Newbie at CSS could use some help

#127691
CrocoDillon
Participant

It’s the whitespace between inline-block elements (think of the elements as words and the whitespace as the space between those words). There are lot’s of ways to remove that. Some require modifying markup like adding comments to remove any whitespace between the elements (a comment between each li closing tag and the next li opening tag), some are done in CSS, like `margin-right: -0.25em;` on the li, or adjusting letter-spacing, word-spacing, font-size, maybe more on the ul element.

EDIT: Of course I’m typing too slow again, but @wolfcry911, right margin works better then left margin ;)