Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS List alignment problem

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #282886
    jaycanuck74
    Participant

    Hi folks. Just wondering if I could get help with this. I’ve tried multiple things but can’t get all lines to a line up. Both the OL and the LI.
    This is the CSS I’m using, and a sample of what the page looks like can be found here

    OL { counter-reset: item }
    LI { display: block }
    LI:before { content: counters(item, “.”) ” “; counter-increment: item; font-weight: bold; padding-right:10px;}

    #282887
    Shikkediel
    Participant

    This perhaps?

    ol {
     padding: 0;
    }
    
    #282889
    jaycanuck74
    Participant

    Unfortunately that just brings both indents all the way to the left

    #282890
    Shikkediel
    Participant

    In that case I suggest ol ol

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.