The selector "ul li li" is valid, of course.
my point is to not confuse someone with a css problem by having to
change css selectors that work, and is the basis for structure of the
css in superfish
jQuery would work also with same selector $("ul li li"). The html
needs to be vaild for sure but OP was css
Šime Vidas wrote:
It viola
Šime Vidas wrote:
It violates the standard and you should avoid such practice.
Proper nesting:
First
One
Two
Second
Please, put a demo of the problem online...
It's perfectly ok to omit the 's in your css selector, but the HTML
It violates the standard and you should avoid such practice.
Proper nesting:
First
One
Two
Second
Please, put a demo of the problem online...
UL LI LI will still work as CSS selector. The second LI is still a
descendant of the first one, regradless of it's parent and the css is
written that way.
Šime Vidas wrote:
You mean UL LI UL LI, instead of UL LI LI?
Because you're not supposed to put LIs inside LIs...
You mean UL LI UL LI, instead of UL LI LI?
Because you're not supposed to put LIs inside LIs...
6 matches
Mail list logo