Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i add space(margin-bottom ) between the li's of my ul?

Tags:

css

Hi i am trying to add some space below each li of my ul. When i try to set margin-bottom on the li it does not work it just adds margin above the first li element of the list. Can someone tell me how i can add a space(margin) bellow each li

like image 325
vijar Avatar asked Jan 24 '14 07:01

vijar


1 Answers

ul li{margin-bottom:10px;}

You can check the example here: http://jsfiddle.net/gdfxk/

like image 129
Vivek Avatar answered Sep 27 '22 23:09

Vivek