style.important (Property)

A means of adding emphasis to an object.


CSS level - 1
JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyStyle.important
CSS syntax:!important

Although the !important style attribute is supported in CSS style sheets used by MSIE and Netscape 6.0, there is apparently no access to it from JScript at this time. If there were, then syntax rules for JavaScript would preclude the use of the exclamation mark as a part of the identifier name for the property so it would most likely be called simply style.important.

Although there are no values assigned to this style attribute in the CSS style sheet, it is likely that it would be a Boolean value if it were accessible from JScript.