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  


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.

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



Empty string.

buy generic lipitor 20mg <a href="">buy atorvastatin 10mg sale</a> lipitor sale
Zorwft - 2 months

Powered by Linode.