The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

How i control List style

  • # April 1, 2009 at 11:35 pm

    how i customize gap between list style and list text.

    # April 2, 2009 at 2:44 am

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed