CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
How i control List style
saiful
Permalink to comment
#
April 2009
how i customize gap between list style and list text.
TheDoc
Permalink to comment
#
April 2009
I'm not 100% I understand what you're talking about, but I assume you mean unordered (ul) and ordered (ol) lists:
In your css:
li {
margin: 5px 0;
}
This will create an extra 5px gap above and below each listed item.
Add a Comment
In your css:
li {
margin: 5px 0;
}
This will create an extra 5px gap above and below each listed item.