javascript cssRule cssText
| cssText | NN 6 IE 5(Mac) DOM 2 |
| Read/Write | |
|
Indicates the complete text of the style sheet rule, including selector and attribute name/value pairs inside curly braces. IE 6 for Windows provides no equivalent property. In supporting browsers, changes do not influence the object or rendering. |
|
| Example | |
document.styleSheets[0].cssRules[2].cssText = "td {text-align:center}";
|
|
| Value | |
String. |
|
| Default | |
None. |
|
| W3C DOM CSSRule Types | |
All. |
|
Previous: javascript cssRule encoding
424,Nickname,Homepage or email,Comments here,Add comment
