Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jumps to a new page when text area limit is over remaining page limi

Status
Not open for further replies.

tzigone

MIS
Aug 11, 2003
42
TR
Hello,
I have a form users write comments in a text area. When I want to print this form if characters in text area is over reamining part of the page, it jumps to a new page and old page remains blank. How can I divide contents of text area to both pages?
 
I've not tried this, but if you have a print style sheet, and you give the textarea a "page-break-before" value of "", would that work? See this URL for more details:


I invisage the code would be something like this:

Code:
<textarea style="page-break-before:avoid;">

Hope this helps,
Dan
 
Hello,
I put page-break-before:avoid or empty string thing in text area tag, form tag, html itself but it did not work. there is page-break-inside style also, but it does not work, too. I try media:print etc, although i do not know exactly what it is, it does not work ,too. pofff:(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top