javascript cssRule style
| style | NN 6 IE 5 DOM 2 |
|
|
Read/Write |
|
Returns a style object with properties that reflect the attribute settings of the current rule. This is the same kind of style object associated with elements in the document (corresponding to the W3C DOM CSSStyleDeclaration object). If you must modify style sheet settings at the rule level, do so via the style property of the rule or cssRule. Changes register themselves immediately, and the elements affected by the rule render their changes accordingly. |
|
| Example | |
var oneRule; |
|
| Value | |
|
Reference to a style (W3C CSSStyleDeclaration) object. |
|
| Default | |
|
Current style object. |
|
| W3C DOM CSSRule Types | |
CSSFontRule |
|
Previous: javascript cssRule styleSheet
432,Nickname,Homepage or email,Comments here,Add comment
