0

Hello,

I'd like to know is there a way to specify what character to use in the unordered list?
for example, i'g like to have a list with '-' or '>' for a bullet, but cant find a way to do this in html or css.
All ideas very weclome

Thanks for the replies

minbor

4
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by rockyourweb
0

Probably the easiest and most compatible way is to make a .gif image of the character you want. Then use:

.bul {list-style-image: url(broketbullet.gif);}

Then, at the appropriate list:

<ul class="bul">
...
</ul>

Note that if you have a sublist inside the list with the custom bullets, you will need to create another style to return the bullets or numbers of the inner list back to the proper kind.

0

You can try this in css file :

.list ul { background:url(images/imagename.gif) center left no-repeat;
padding-left:15px;
list-style:none;
}

and use div class list in your html file like this :

<ul class="list">
<li>text</li> 
<ul>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.