DOM:document.styleSheets
From MDC
Contents |
[edit] Summary
Returns a list of stylesheet objects for stylesheets explicitly linked into or embedded in a document.
[edit] Properties
styleSheetList.length - returns the number of stylesheet objects contained in the object.
[edit] Syntax
styleSheetList = document.styleSheets
The returned object is a StyleSheetList.
It is an ordered collection of stylesheet objects. styleSheetList.item(index) or simply styleSheetList[index] returns a single stylesheet object by its index (index is 0-based).