Page 1 of 1

li bullet color

Posted: Tue Mar 01, 2011 7:34 am
by andre_designer
i'v a short question how to colorise a li bullet in cms ms

Re: li bullet color

Posted: Tue Mar 01, 2011 8:46 am
by Marijus
You can use image:

Code: Select all

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

Or colorise with span tag

Code: Select all

<ul class="color">
<li><span>One</span></li>
<li><span>Two</span></li>
<li><span>Three</span></li>
</ul>

Code: Select all

.color li{
color:red;
}
.color li span{
color:blue;
}
perhaps there are and other ways to do...

Re: li bullet color

Posted: Tue Mar 01, 2011 8:55 am
by Wishbone
You beat me to the span trick..

http://teamwishbone.com/1.9/?page=test

Re: li bullet color

Posted: Tue Mar 01, 2011 6:01 pm
by andre_designer
is this also posible in the menu?? I thought that this not was posible with the <span> trick.

Re: li bullet color

Posted: Tue Mar 01, 2011 6:08 pm
by Marijus
andre_designer wrote:is this also posible in the menu?? I thought that this not was posible with the <span> trick.
yes

Re: li bullet color

Posted: Wed Mar 02, 2011 8:38 pm
by Dr.CSS
Most all of the menu templates have a <span> in them, right click a page and view page source to see...