Discussion Locked

Line spacing in numbering

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to know if there is any way to define the line spacing, or a extra blank line between two lines in numbering, apart from adding

in front of the

  • manual. Preferably, the solution will work under bot the IE and NS. Thanks.

    Antonio

  • 2 replies

    by dtds

    You could use a CSS style like this:

    li {
    font-size: 12px;
    margin-bottom: 12px;
    }

    Other properties like line-height will work fine too.

    by pioneering

    I recommend:

    li
    {
    padding-top: 1em;
    }

    Which will give spacing the size of the capital "M" regardless of font size. There's
    already padding at the bottom of the last element.

    Also, this will work for both IE and Mozilla, although I've never tested it on Opera. Margins in list item elements generally don't render well in IE.

    (I also recommend the BSD brace style, as opposed
    to the K&R (aka OTB) brace style, but that's another discussion entirely!)

    This discussion is closed to new replies.