FANDOM


This deprecated property is not recommended. Authors should generally find an alternative way to accomplish the same task while adhering to all best practices, or simply do without it if it is unimportant.


The CSS page property is used to specify a specific page type to use when displaying an element box. If the value specified is different than the one for the rendered element box that precedes it, one or two page breaks should be inserted between them, and the element box should then be rendered on a page box of the indicated type. This property applies only to block-level elements.

This property has been removed in CSS2.1.

Values

Value Description
auto References the current default page. This is the default value.
<identifier> Specifies an identifier for a page type defined in an @page @-rule.


HTML example:

<body style="page:doublepage; page-break-after:right;">
TEXT
</body>


CSS example:

body {
      page:doublepage;
      page-break-after:right;
}

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.