HTML CSS Reference/CSS Attributes and Javascript Style Properties/page
"page" Example
<html>
<head>
<style type="text/css">
@page:first { font-family:Times New Roman;
font-size: 18pt;
color:blue;
}
@page:left { font-family: Verdana;
font-size: 18pt;
}
@page:right { font-family: Verdana;
font-size: 18pt;
}
</style>
</head>
<body>
<p>(body content)</p>
</body>
</html>
"page" Possible Values
Possible Values
:first Applies to the first page
:left Applies to the pages on the left side
:right Applies to the pages on the right side
"page" Syntax and Note
Note:
Set the dimensions, orientation, and margins for printing.
These rules will only work with customized print templates.
For information on print templates, refer to
http://msdn.microsoft.ru/workshop/browser/hosting/printpreview/reference/reference.asp.
Syntax:
@page value { style sheet rules }