Results 1 to 3 of 3

Thread: Creating a cleanly aligned list?

  1. #1
    Join Date
    Jan 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Creating a cleanly aligned list?

    How do I make a list similar to the one as shown in the example. Thank-you.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Something like this

    css:
    Code:
    h1 {
    color:#ff0000;
    font-size:16px;
    }
    html
    Code:
    <h1>Title</h1>
    <ul>
         <li>point one</li>
         <li>point two</li>
         <li>point three</li>
    </ul>
    <h1>Title</h1>
    <ul>
         <li>point one</li>
         <li>point two</li>
         <li>point three</li>
    </ul>
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    do you mean how (in the first list in your image) the bullets are separated from the text?
    Code:
    ul{ list-style-position: outside; }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •