David Hucklesby wrote:
Trying to put the entire printed recipe on its own printed page, most
 browsers honor my "page-break-before: always;" declaration. I can't
get this to work nohow no way in Webkit (Safari and Chrome), even by
adding !important...

<http://yewebwiz.info/temp/kam/>

The rule is first in the @print section, near the end of this CSS:

<http://yewebwiz.info/temp/kam/recipes.css>


Tim White responded:
David,

In testing that I've done I have found that @media doesn't seem to
work in external stylesheets in all browsers. Try moving the @media
rules into an embedded stylesheet just to see if Webkit works then.


Oh, the @media print works all right. Check the print preview.
I even tried moving the rule out of the @media section. I just can't get
the page-break-before to put the recipe on its own page... All other
styles are applied just fine.

FWIW - page-break-after does not work either. Only Webkit...

Cordially,
David
--



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to