SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    May 2010
    Posts
    228
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    custom bullets on DL not working

    on this page, how come there's no bullet images showing next to the bullets in the DELIVERY ROUTES section even though I have this css code in place:

    Code:
    #post-431 .entry-content dl {margin:-10px 0 20px; list-style-image: url("/tempversion/wp-content/uploads/site-elements/bullet.jpg") !important;}
    please advise. thanks in advance.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,282
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    A DL is not a LI and a list-image applies to list items only (although you could change the DL's display to that of list-item and then the image would show).

    It's much easier to simply use the background-image image property anyway (even for lists) because the list-image can't be positioned accurately.

  3. #3
    SitePoint Addict
    Join Date
    May 2010
    Posts
    228
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    got it. thanks!


Tags for this Thread

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
  •