Simplified Box Model Hack

Test of Filter

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

Code Syntax

#testElement {
   c\olor: #00cc00;

Browser Support / Behaviour

Applied By

Not Applied By



Special Notes

Though called the Simplified Box Model Hack, this hack is just one part of the Simplified Box Model Hack as explained in the original post on the SBMH and summarized on the css-discuss wiki page on box model hacks.

This hack is also featured in the Modified SBMH.

Like all hacks that use escaping, the character after the \ must not be between '0' and '9' or 'a' and 'f' (or 'A' and 'F') because these can be interpreted as hex character codes and not as the literal character.

More information