Forum Moderators: not2easy
#ja-container ul.menu li li
Tag key with 3 descendant selectors and Class overly qualified with tag
[edited by: alt131 at 5:24 pm (utc) on Aug 13, 2011]
[edit reason] Thread Tidy [/edit]
ul.menu li li{}
#ja-container li li {}
what is the wrong? I think that css code is normal!Good on you for bothering to validate - and I think you've raised the really good issue that this sort of code is seen so often it has become "normal". To my mind this is a situations where "what is commonly used" is not the same as "best practise".
I think I just made that sound more complicated than it isBoth make sense to me ;)"If you've only got one of something, it doesn't need a class."