PDA

View Full Version : can you change the bulletstyle in a list?


merdolator
09-24-2002, 08:39 AM
for example:

<ul>
<li> item one
<li> item two
<li> item three
</ul>

1st page shows big fat bullet.
are you able to change this to the hollow circles?

i see that if you do something like:

<ul>
<ul>
<li> item
</ul>

...you get that result... but i would like that to be the default bullet.

HZR
09-24-2002, 10:01 AM
<ul style="list-style: circle">
<li>item one</li>
<li>item two</li>
<li>item three</li>
</ul>

merdolator
09-24-2002, 10:10 AM
sweeeeeeeet!
simple solution i see.

is there a list of bullet styles then that i should refer to?

thankee very much!

HZR
09-24-2002, 10:21 AM
With the list-style(-type) : tag you can use disc, circle, square, decimal, lower-roman, upper-roman, lower-alpha, upper-alpha and none.
You can also use images: list-style-image: url(image.png)

merdolator
09-24-2002, 10:30 AM
thanks again.
going to try the image thing as well for fun.

Ghandi Eximius
10-03-2002, 04:30 PM
Wow, thats a great tip. For some reason I didn't know abou that one. Do you know of any better site for listen CSS functions other than W3? I would like to get more little jewels such as that last tip...

Henning
10-04-2002, 10:56 AM
Unluckyly i only know a german site . i case your are german or any german reads this , its : http://www.netzwelt.com/selfhtml/

Ghandi Eximius
10-04-2002, 05:05 PM
thanks any way :rolleyes: