isPrefAlternate property
Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Boolean
VARIANT_FALSE (false)
-
Object is not the preferred alternative style sheet.
VARIANT_TRUE (true)
-
Object is the preferred alternative style sheet.
Remarks
If more than one alternative style sheet exists, then this is the preferred one.
See also
Send comments about this topic to Microsoft
Build date: 3/14/2012
Criteria for Preferred?
This property returns true if the styleSheet satisfies requirements for "preferred" but what exactly is that?
- style's attributes contain rel = stylesheet
- title is specified and not empty
- attribute rel does not contain alternate
- 3/5/2010
- John Sudds [Microsoft]
