Fernando,

On Jun 1, 2006, at 1:48 PM, Fernando wrote:

> I print many divs with style  page-break-after: always;
> so my structure is like this
>
> <div style=" page-break-after: always;">
> content4
> </div>
> <div style=" page-break-after: always;">
> content3
> </div>
> ...
> I want to put a page footer in all pages, How to do it?

The css way is to include the footer once in source and set it to 
position: fixed; in your print stylesheet.  Unfortunately, browser 
support is weak in this area.  Sometimes I think printing is an 
afterthought for browser developers, but I shouldn't complain because 
browsers are incredibly complex.  Anyway, if the php approach doesn't 
appeal to you, you could do it with javascript instead.  That's 
off-topic for this list, so if you want to pursue it, contact me 
off-list.

-- 
Roger Roelofs

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to