-1

See this CodePen - http://codepen.io/anon/pen/slKIv?editors=110.

The <li>s don't have any padding or margins. And the <a>s only have padding. Why is there space between them?

Adam Zerner
  • 15,207
  • 15
  • 76
  • 141
  • 1
    Dublicate : http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements – user3790069 Oct 05 '14 at 16:53
  • Duplicate http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements – Christina Oct 05 '14 at 16:54

1 Answers1

1

Codepen

every inline will give extra space of at-least 2-3px at the right side so you need to give float:left and for parent display inline-block

Vitorino fernandes
  • 15,429
  • 2
  • 19
  • 37