IE child selectors
Good day to all.
As you know, Internet Explorer up to version 7 does not support child selectors of the form E> F. At the risk of getting a lot of minuses from the more enlightened audience of Habr, I want to share a little trick that allows you to emulate the functionality of child selectors for IE version 6 and below.
The trick is quite simple:
I hope someone will find this trick useful
As you know, Internet Explorer up to version 7 does not support child selectors of the form E> F. At the risk of getting a lot of minuses from the more enlightened audience of Habr, I want to share a little trick that allows you to emulate the functionality of child selectors for IE version 6 and below.
The trick is quite simple:
the text of this span is red because located directly in the div tagthis span has green text because inside a div, it is nested in another tag
I hope someone will find this trick useful