www.webdeveloper.com
Results 1 to 3 of 3

Thread: How do I get a bullet list to align right?

  1. #1
    Join Date
    Nov 2005
    Posts
    4

    How do I get a bullet list to align right?

    My image bulleted list is working but my text is aligned right so I want my bullets to be align right also but i can't get this to work. Any ideas?

    Code:
    ul.bodylinks{
    list-style-image: url(images/bullet.gif);
    text-align: right;
    background-repeat: no-repeat;
    padding-left: 20px;
    margin-left: 0px;
    padding-right: 10px;
    list-style-type: none;
    }
    Code:
    <ul class="bodylinks">
    <li>Short term contracts or one-off projects</li>
    <li>30 tonne crane capacity with access to 100 tonnes</li>
    </ul>

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    direction: rtl;
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    May 2005
    Location
    Pangea
    Posts
    668
    Oooh! I never knew that before!
    Good question CSA!
    **(o)>***<(o)
    ___|| * * *
    *||__ , * * * * * * * * (o)>
    \___/ * * * *\___/ * * * * * * *___//
    iiiiLLiiiiiiiiiiiiiii_/_|iiiiiiiiiii~~~~~~ \___/~~~~~~~~~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles