Export (0) Print
Expand All

2.5.1.2 isPrefAlternate

isPrefAlternate of type Boolean, read-only

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet. If true, the object is a preferred alternative style sheet. If more than one style sheet exist then this object is the preferred one.

An author may specify the default style sheet by setting the following:

  • link element's rel attribute contains "stylesheet", but not "alternate"

  • link element's title attribute is specified and not empty

Windows Internet Explorer 8 uses the preferred style sheet when the page is loaded, and marks it as default on the Style submenu.

This attribute is not available in Windows Internet Explorer 7.

This property has no default value.

Show:
© 2016 Microsoft