Hi, maybe this answer is delayed, but it is correct to achieve this.
Well, the fact is that you have to specify an internal tag so that the LIst text is on plain black (or whatever you want to get). But itβs also true that you can reinstall any TAGS and internal tags using CSS. So the best way to do this is using the SHORTER tag to override
Sort this CSS definition:
li { color: red; } li b { color: black; font_weight: normal; } .c1 { color: red; } .c2 { color: blue; } .c3 { color: green; }
And this html code:
<ul> <li><b>Text 1</b></li> <li><b>Text 2</b></li> <li><b>Text 3</b></li> </ul>
You get the desired result. You can also make each disk a different color:
<ul> <li class="c1"><b>Text 1</b></li> <li class="c2"><b>Text 2</b></li> <li class="c3"><b>Text 3</b></li> </ul>
Dragnovich Jul 05 '09 at 6:21 2009-07-05 06:21
source share