Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing control in HTML?




On 21 Jun 2005, at 10:54 am, Masquerade Webmaster wrote:

I'm putting together a page that I would like to allow someone to print, with "hard" page breaks in certain sections. Is there something I can put into the code that wouldn't be readily visible to a browser, but when someone decides to print the page, would appropriately break the output into delineated pages?

You mean, at a certain point force the browser to start to print on a new page ?


Look at the page-break-before or page-break-after properties for your print stylesheet:
<http://www.w3.org/TR/CSS21/page.html#propdef-page-break-after>
support is ambivalent, more on the CSS-D Wiki
<http://css-discuss.incutio.com/?page=PrintStylesheets>


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Printing control in HTML? (From: Masquerade Webmaster <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.