Child Selector

Test of Filter

This text will be green if the rule has been applied.

Code Syntax

html>body #testElement {
   color: #00cc00;

Browser Support / Behaviour

Applied By

Not Applied By


Special Notes

This filter is commonly used along with Tantek's Box Model Hack to apply the correct box model values to Opera 5 (though, Opera 5 understands the TBMH so this reason doesn't hold) and to prevent Win IE 5.0 from ignoring the rule after the Tantek hack (which is a valid problem). When used in this way, it is sometimes called the "be nice to Opera 5" rule. See Tantek's original Box Model Hack page for more information.

More information