Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Printing with page breaks where desired
- Lao Ming
March 4, 2009, 11:45 pm
rate this thread
many pages of code with:
<p style="page-break-before: always">
inserted in the desired locations.
However, since it's just code and not full-fledged HTML,
I had to write a script to attach <br> at the end of every line
and then open Safari with:
open -a Safari myprintfile
in order to print the code which worked for the most part
except that, as could be expected, all of the indentation
in my code was removed.
I then tried:
near the beginning of the code and after each CSS page-break and
at the end of the code and prior to each CSS page-break.
Unfortunately, the CSS page-breaks no longer came out
on the printer. What am I doing wrong?
Thanks for your help.
Re: Printing with page breaks where desired
What?? I have no idea what you are talking about.
"page-break-before: always" works for me in many browsers.
Please supply a sample document online and post the
address (URL) here so that we can inspect it.
In memoriam Alan J. Flavell
- » XHTML, application/xhtml+xml, and Internet Exploder
- — Next thread in » HTML Authoring Forum