Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jeroen07 Friend
    #158035

    I would like to use an image for some of my list but it seems that it gets always overwritten ?

    ul.goud
    {
    list-style-image:url('http://www.iendracht.be/images/stories/icons/gold.png');
    }

    and

    <ul class="goud">
    <li>Number one</li>
    </ul>

    doesn’t do the trick…

    aman204 Friend
    #369216

    You can also, add this css attribute like this::

    ul.goud li{background:url(‘http://www.iendracht.be/images/stories/icons/gold.png’);}

    Mainly, Please ensure that image is present in specfic directory

    jeroen07 Friend
    #369231

    Thanks for your response Aman.

    With the background it works, but i don’t think thats ideal for lists ?

    Another important matter: How can i change the space between the different list items (the standard ones) ? I’ve tried a thousand things and can’t find the right solution…

    Regards,

    Phill Moderator
    #369236

    Use the !important tag in your css to force the code to use it. Details found here – http://www.electrictoolbox.com/using-important-css/

    This site also gives some tips on list styling – http://www.alistapart.com/articles/taminglists/

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Phill 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum