readOnly Property | Internet Development Index |
Retrieves whether the rule or style sheet is defined on the page or is imported.
Syntax
[ bReadOnly = ] object.readOnly
Possible Values
bReadOnly Boolean that receives one of the following values.
false Default. Rule or style sheet is obtained through a link object or the @import rule. true Rule or style sheet is defined on the page. The property is read-only. The property has a default value of false.
Remarks
You cannot modify style sheets obtained through a link object or the @import rule while the designMode property is enabled. For more information, see Introduction to MSHTML Editing.
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
styleSheet, rule