ste.paole... (AT) tiscali (DOT) it wrote:
Quote:
hi, is possible that in IE the selectors parent>child and
element[attributename=value] (or just element[attributename]) don't
work? |
Correct. Not supported by IE.
Quote:
for the first case writing parent child(without ">") work, |
Sort of.
parent child is the descendent selector whereas parent>child is the
child selector.
div>p {color: red;}
<div><blockquote><p>not red</p></blockquote></div>
div p {color: red;}
<div><blockquote><p>red</p></blockquote></div>
Quote:
but if I
want select an element only if has particular attribute setted? |
You'll need to add a class (or id) attribute. Or use JavaScript (Google
for Dean Edwards' IE7 script library).
Steve