TOC PREV NEXT INDEX

Put your logo here!


cssText


cssText returns the actual text of the style rule.

Syntax

text = cssRule.cssText 

Parameters

text is a string containing the style rule text.

Example

if ( myRule.cssText.indexOf("background-color") != -1 ) { 
   bgRule = myRule; 
} 
... 

Notes

None.

Specification

DOM Level 2 Style - cssRule


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX