- From: REFSTRUP,JACOB (HP-Vancouver,ex1) <jacob_refstrup@hp.com>
- Date: Tue, 25 Feb 2003 11:27:08 -0800
- To: "'Michael Day'" <mikeday@yeslogic.com>, www-style@w3.org
Michael, With your proposal how would you support running headers and footers. E.g. a footer with the current page number. Note that #footer { content: "Page " counter(page); display: fixed; } would not work as the content of a fixed box doesn't get "updated" every time it is "instantiated". Perhaps that is what you are also implicitly suggesting? Regards, - Jacob -----Original Message----- From: Michael Day [mailto:mikeday@yeslogic.com] Sent: Saturday, February 22, 2003 9:08 PM To: www-style@w3.org Subject: Page pseudo-elements Hi, A convenient addition to either the CSS3 Selectors or Paged Media modules would be the following page pseudo-elements: ::first-page ::last-page ::nth-page(expr) ::nth-last-page(expr) These would allow elements that are broken over more than one page to be styled differently on different pages; in particular it would allow flexible headers and footers in conjunction with position: fixed. For example, creating a header that is not displayed on the first page: #header { position: fixed; ... } #header::first-page { display: none } This seems much more convenient than the proposal in the current CSS3 Paged Media working draft of creating margin boxes that are populated using the content property. Cheers, Michael
Received on Tuesday, 25 February 2003 14:27:29 UTC