Escape Before Property

Test of Filter

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

Code Syntax

#testElement {
   \text-decoration: underline;

Browser Support / Behaviour

Applied By

Not Applied By

Destroyed By


Special Notes

This hack is commonly used with 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.

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. This means this hack can't be used on:

More information