!importantNN 6 IE 4 CSS 1

Inherited: No

Increases the weight (importance) of an attribute setting with respect to cascading order. This keyword is a declaration rather than an attribute, but it can be attached to any attribute setting. The syntax requires an exclamation symbol between the attribute value and the important keyword. Extra whitespace around the exclamation symbol is acceptable. See Chapter 3.

 
CSS Syntax
 
!important
 
Value

No values assigned to this declaration.

 
Example
 
p {font-size: 14pt ! important}
 
Applies To

All elements.

 
Object Model Reference
 
[window.]document.getElementById("elementID").style.getPropertyPriority("styleAttribute")