document.styleSheets Redirect 1

« document

The Document.styleSheets read-only property returns a StyleSheetList of StyleSheet objects for stylesheets explicitly linked into or embedded in a document.

Syntax

var 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).


Specification

Document Tags and Contributors

 Last updated by: Sheppy,