bullet image for unordered list problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • torweb
    New Member
    • Jan 2008
    • 14

    bullet image for unordered list problem

    I'm using an image for an unordered list, which works fine. The problem is, the image is also appearing in my numbered "ordered list." Here is my code for the unordered list:...and thanks in advance:
    [code=css]
    ul {
    font-family: Arial;
    font-size: 12px;
    color: #424E51;
    font-style: normal
    line-height: 17px;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-decoration: none;
    background-color: #FFFFFF;
    text-indent: inherit;
    list-style-position: outside;
    margin: 25px;
    list-style-type: none;
    }

    li {
    padding-left:15px;
    background:tran sparent url(MEDIA/JPGs/bullet.gif) no-repeat;
    background-position:0 7px;
    }[/code]
    Last edited by drhowarddrfine; Mar 16 '08, 04:20 AM. Reason: Please use code tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Because you are putting the image in all li's. So be more specific and say:
    ul li {....}

    Comment

    • torweb
      New Member
      • Jan 2008
      • 14

      #3
      Originally posted by drhowarddrfine
      Because you are putting the image in all li's. So be more specific and say:
      ul li {....}
      Thanks so much for the reply...I just "stumbled" on the answer before reading your post...but again...many thanks!

      Comment

      Working...