Friday, 28 August 2015

Re:

  • On Fri, 28 Aug 2015 11:03:31 -0600, Anthony J. Bentley wrote:

    > Dave Higton writes:
    > > On Fri, 28 Aug 2015 12:50:00 +0100 Richard Torrens wrote:
    > >
    > > > Doing a list of genealogical notes, I wanted to space them out so there
    > > > was a blank line between each record. So I replaced each <LI> by <P><LI>.
    > > >
    > > > This does not work in Netsurf - but does in Firefox and Chrome
    > > >
    > > > Is this a bug?
    > > >
    > > > The page in question is
    > > > www.torrens.org.uk/Genealogy/Torrens/DataScot/sasines.html
    > >
    > > <p> opens a paragraph. You need to close it again afterwards with </p>.
    >
    > No, in HTML <p> does not require a closing tag except in specific
    > circumstances. "The end of a <li>" is not one of those circumstances.

    Also, I don't think there's any guarantee that a new paragraph
    actually inserts a blank line, and starting a new paragraph in the
    middle of a list seems like an odd thing to do.

    I always use <br>, same as Rob suggested.

    > As for the original question, I would probably use CSS to add padding or
    > margin at the bottom of each li.

    That's probably the correct "modern" way to do it.

    Chris

    No comments:

    Post a Comment