Grow your CSS skills. Land your dream job.

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.

*May or may not contain any actual "CSS" or "Tricks".