[thelist] [CSS] problem styling ULs with custom bullets

Jacques Capesius Jacques.Capesius at compellent.com
Fri Aug 12 10:53:45 CDT 2005


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;
}



More information about the thelist mailing list