styleSheetstyleSheet*
*



Contents  *



Index  *Topic Contents
*Previous Topic: style
*Next Topic: SUB

styleSheet

Description

Represents a single style sheet in the document.

Remarks

You use the object to retrieve information about the style sheet, such as the URL of the source file for the style sheet and the element in the document that owns (defines) the style sheet, and also to modify the style sheet.

You retrieve a style sheet object from the styleSheets collection or from the imports collection. Each item in these collections is a style sheet. A style sheet object is available for a style sheet only if it is included in a document with a STYLE or LINK element, or with an @import statement in a STYLE element.

Properties

disabled, href, id, owningElement, parentStyleSheet, readOnly, type

Methods

addImport, addRule

Collections

imports, rules

Applies To

styleSheets


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.