CSS and Lists

B

Bert Hibberd

I am trying to have a graphic image (say 'arrow.jpg') as the bullet
point in a <UL> list.

Can anyone tell me how to do this using CSS?

Thanks,

Bert Hibberd
Australia
 
M

Mark Parnell

Bert said:
I am trying to have a graphic image (say 'arrow.jpg') as the bullet
point in a <UL> list.

Can anyone tell me how to do this using CSS?

Thanks,

Bert Hibberd
Australia

li {
list-style-image: url(arrow.jpg); }
 
N

Nick Theodorakis

I am trying to have a graphic image (say 'arrow.jpg') as the bullet
point in a <UL> list.

Can anyone tell me how to do this using CSS?

ul li
{
list-style-image: url(arrow.jpg);
}

or, you can set all the properties for list elements at once:

ul li
{
list-style: disc url(arrow.jpg) outside;
}

for example.

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,568
Members
47,204
Latest member
abhinav72673

Latest Threads

Top