-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
  • 17,797
  • 15
  • 90
  • 156
  • 1
    Dublicate : http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements –  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,794
  • 3
  • 20
  • 39