TriState Advantage, Kris Jacobson wrote:

> Thank you for this article, I found it a good reinforcement of using id's and 
> class's.
> I have a questions on styling lists and links in a div.
> I have been styling lists using id's
> example
> #div ul
> #div li
> #div li a
> #div li a:hover
> I followed a tutorial when I first did this and it worked. Then I thought 
> this is wrong. There is more then one li and more then one link in the list 
> so I changed them to class's and the styling did not work so I had to change 
> them back to id's.
> I don't understand why, I just know it works and it validated. Is this 
> because it is in a list?

Did you change the hashes to periods in the CSS ?
Philip Taylor
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to