Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Spacing between li

Tags:

css

How can I remove spacing between the li found here?

http://blog.raveis.com/badge/b.html

Confused on how to do this and I don't want to use negative margins. any help would be greatly appreciated.

like image 389
Zach Smith Avatar asked Nov 20 '09 14:11

Zach Smith


2 Answers

Make your li tags display:block; and float:left; (instead of display:inline;)

like image 85
Josh Stodola Avatar answered Sep 20 '22 21:09

Josh Stodola


Try this.

ul { font-size: 0; }
like image 26
tsu1980 Avatar answered Sep 18 '22 21:09

tsu1980