Was ist "Css"?

cart Shopcart:$0.00


Was ist "Css"?

What is the difference between the CSS '>' selector and the descendant selector?

The space is much more commonly used and defines a "descendant selector", which means it looks for any matching element down the tree rather than just immediate children as the > does. NOTE: The > selector is not supported by IE6.

Is the CSS '>' selector supported by all browsers?

NOTE: The > selector is not supported by IE6. It does work in all other current browsers though, including IE7 and IE8. If you're looking into less-well-used CSS selectors, you may also want to look at +, ~, and [attr] selectors, all of which can be very useful.

What is the purpose of the > (greater than) selector in CSS?

The greater than sign (>) selector in CSS is used to select the element with a specific parent. It is called as element > element selector. It is also known as the child combinator selector which means that it selects only those elements which are direct children of a parent.


Related Articles