Summary
Returns the object CSSStyleDeclaration for block declaration block of the statement of the rule.
Syntax
styleObj = cssRule .style
Instance
stilo function () { alert (document.styleSheets [0] .cssRules [0] .style.cssText); } // Displays "background-color: gray;"
Letters
The declaration block is part of the style rule in brackets and set the style definition (for the selector, the part before the brackets).
Specification
Etiquetas y colaboradores del documento
Última actualización por:
arunpandianp,