Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
CSS Reference
Collections
 pages Collection

  Switch on low bandwidth view
pages Collection

Retrieves a collection of page objects, which represent @page rules in a styleSheet.

Syntax

[ oColl = ] object.pages
[ oObject = ] object.pages(iIndex)

Possible Values

oColl Array of page objects.
oObjectReference to an individual item in the array of elements contained by the object.
iIndexRequired. Integer that specifies the zero-based index of the item to be returned.

Members Table

The following table lists the members exposed by the pages object.

Attributes/Properties
Show:
PropertyDescription
length Retrieves the number of objects in a collection.
MethodDescription
item Retrieves an object from the pages collection.
ObjectDescription
page Represents an @page rule within a styleSheet.
ObjectDescription
StyleSheetPageList Constructor New for Windows Internet Explorer 8  Defines the properties and methods inherited by objects in the StyleSheetPageList Constructor prototype chain.

Remarks

Although this collection is represented in the Cascading Style Sheets (CSS) object model in Microsoft Internet Explorer 5.5 and later, @page rules are not represented in the default print template for Internet Explorer. The rules can be used by print templates developed for applications that host MSHTML.

Standards Information

There is no public standard that applies to this collection.

Applies To

styleSheet, CSSStyleSheet Constructor

See Also

Print Template Reference
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker