Skip to content

Commit 7b1815b

Browse files
committed
[css2] Added page numbers in printed output.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402426
1 parent f59f918 commit 7b1815b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

css2/style/default.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Style sheet for the CSS2 specification
3-
* $Id: default.css,v 2.24 2006-04-06 22:32:30 bbos Exp $
3+
* $Id: default.css,v 2.25 2006-04-06 23:42:15 bbos Exp $
44
*/
55

66
BODY {
@@ -166,6 +166,16 @@ SUP {
166166
font-size: 80%
167167
}
168168

169+
@page {
170+
@bottom-right {
171+
font-family: helvetica, sans-serif;
172+
content: counter(page);
173+
text-align: right;
174+
vertical-align: top;
175+
padding-top: 2em;
176+
}
177+
}
178+
169179
@media print {
170180
P {
171181
margin-top: 0;

0 commit comments

Comments
 (0)