views:

68

answers:

1

im guessing not cause i've been trying it with examples and nthing works...

but im curious why not? and how im gonna set it ?

thnx!

+5  A: 

Sure you can. Just as for any other HTML element.

ul li { font-family: Arial, Sans-Serif }

Note that if the li contains other elements, and those elements have their own font-family settings, the value may get overridden. In that case, you'll have to specifically target the elements inside the li, e.g. for links:

ul li a { font-family: Arial, Sans-Serif }
Pekka
hmm..maybe i ask it wrong...im doing it in a css file... li { color:yellow; font-family:Times New Roman,Georgia,Serif;}is it ok ?
t0s
i guess ur update is what i was looking for...thnx a lot!!
t0s