Javascript Reference
Categories: styleSheet

javascript styleSheet cssText

@March 15, 2008, 1:22 a.m.
cssTextFirefox/Netscape/NN n/a IE 5 Chrome/Safari/DOM n/a  

Read/Write  

Contains the entire text (as a string) of all rules defined in the style sheet. This is useful primarily if you wish to replace the entire set of rules with a new set. To act on the text of an individual rule in IE, access the cssText property of a single rule object (obtained by the styleSheet object's rules[i].cssText property); or, in Netscape 6, you can use the cssRules[i].cssText property.

 
Example
 
var allCSSText = document.styleSheets[0].cssText;
 
Value

String.

 
Default

Empty string.

buy generic lipitor 20mg <a href="https://lipiws.top/">buy atorvastatin 10mg sale</a> lipitor sale
Zorwft - 8 months

Powered by Linode.