[thelist] [CSS] problem styling ULs with custom bullets
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Fri Aug 12 11:14:30 CDT 2005
Give a chance to relative urls. It may sort things out
list-style-image: url("/webroot/img/ico_plus.gif");
note the first slash / at the beginning of the url.
HTH,
Volkan.
On 8/12/05, Jacques Capesius <Jacques.Capesius at compellent.com> wrote:
> Hi folks,
>
> I've been pulling my hair out trying to style an unordered list using a
> custom bullet that is actually a pdf file icon. The image never shows
> up; all it does is default to the standard bullet.
>
> The selectors are right cuz I can style the margins, etc. And I've
> verified that the image url is solid as well. Does anybody see anything
> missing, or anything I'm doing wrong?
>
> TIA for any help you guys can offer
>
> -jacques :)
>
> XHTML
> ----------------------------------------------
> <ul class="pdf_list">
> <li>Item 1</li>
> <li>Item 2</li>
> <li>Item 3</li>
> <li>Item 4</li>
> </ul>
>
>
> CSS
> ----------------------------------------------
> ul.pdf_list
> {
> list-style-type: disc;
> list-style-image: url(img/ico_plus.gif);
> list-style-position: inside;
> padding-left: 0px;
> }
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list