rule.style (Property)

The style settings for a rule.

Availability:

DOM level - 2
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:Style object
JavaScript syntax:-myRule.style

The rule is the owner of a style object which contains properties governing the various style attributes. The order and priority of the rules dictate how the style objects cascade to create the currentStyle and the runtimeStyle objects.

See also:style object (2)