javascript cssRule cssText
@March 15, 2008, 1:22 a.m.
cssText | Firefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/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. |
Permanent URL:
http://javascript.gakaa.com/cssrule-csstext.aspx
Powered by Linode.