# 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

• All Mozilla 0.6 - 1.6
• Win IE 4.0 - 6.x
• OSX IE 5.x
• Mac IE 4.0 - 5.x
• Win Opera 6.0 - 7.x
• OSX/Mac Opera 6.x
• OSX Safari 1.x
• MSN for OSX

### Not Applied By

• All NS 4.05 - 4.8x

The entire stylesheet that contains a declaration with an escape in it will be ignored. None of the rules will be applied to the document.

• Win Opera 3.5 - 5.x

All rules that contain a declaration with an escape in them will be ignored (the rest of the declarations in the rule will be ignored whether they proceed or follow the declaration with the escape in it).

• OSX/Mac Opera 5.x

See above comment on Win Opera 3.5 - 5.x.

• OSX iCab 2.x
• OSX OmniWeb 4.1 - 4.2
• Konqueror 2.2 - 3.x

### Destroyed By

• Win/Mac NS 4.00 - 4.04

Causes a Javascript error.

### Unknown

• OSX OmniWeb 4.0
• Konqueror 2.0

## 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:

• Any background properties
• Any border properties
• clear
• color
• display
• float
• Any font properties