SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Mar 4, 2002, 09:00 #1
- Join Date
- May 2001
- Location
- Sydney, Australia
- Posts
- 2,243
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
changing colour of bullets with out changing text
okay, im pretty sure that i know the answer to this (been trying for about 15 minutes now) but is it possilbe to have the bullets on an unordered list (<ul>) while the text keeps the same colour as it would if it wasnt in the <ul> tag? or do i have to use
<ul>
<li><font color="#xxxxxx">text</font></li>
</ul>
-
Mar 4, 2002, 09:08 #2
- Join Date
- Nov 2001
- Location
- London, UK
- Posts
- 502
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I don't think there's any other alternative than the way you've suggested...
unless you can override or extend the UL item in your DOM to have a color property....
I wonder if there's any alternative then this.
-
Mar 4, 2002, 09:25 #3
- Join Date
- Feb 2001
- Location
- Stockport, UK
- Posts
- 729
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You can do it but you need to create a bullet image of the colour and size you want. then in your css file:
Code:li { list-style : url(put the path to image file here); }
-
Mar 4, 2002, 09:53 #4
- Join Date
- May 2001
- Location
- Sydney, Australia
- Posts
- 2,243
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks sowen :0) i guess that will just have to do.
Bookmarks