This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
using custom image in css list-style-image

Good morning!

I'm rebuilding a site I used to work with straight html, and am working on using css (new to me, but starting to make some sense - especially on saving time!). I've spent several hours reading tutorials here and a couple of other places, then searched through this forum, and can't find a clear enough explanation. I guess I'm just too ignorant to figure out what is probably a small problem.

I'm trying to use an image as the marker in an unordered list. All the tutorials indicate the following to accomplish that:

ul { list-style-image:url('sqpurple.gif');}

I can't find anything that shows exactly how the "url" portion works. I have tried several versions of:

ul ( list-style-image:http://www.renttexashillcountry.com/siteimages('/smalltxflag.jpg');

and just can't get it to work showing the image. I have it done right now as individual paragraphs and line breaks - pain in the butt! Here's what I'm after:

www.renttexashillcountry.com/texasisms/index.html

Can someone please fill me in on what I'm getting wrong? I know I'm just missing something that I'll feel stupid about when I'm told.

Thanks in advance for the assist! Have a great day, and God bless!

Cowboy
www.renttexashillcountry.com

Browser: IE 6(?)

OS: Windows Vista Home premium

Re: using custom image in css list-style-image

Son of a Gun! Gave it a couple more tries, and I think it's right...

UL {
list-style-image:url('http://www.renttexashillcountry.com/siteimages/smalltxflag.jpg');

That works in my editor. Quick followup question, though...

Do I stick it in the css as it is, or as

#main ul li {list-style-image:url('http://www.renttexashillcountry.com/siteimages/smalltxflag.jpg'); ?

Thanks!

Cowboy

Browser: IE 6(?)

OS: Windows Vista Home premium