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!

text area media:print problem

Status
Not open for further replies.

tzigone

MIS
Aug 11, 2003
42
TR
Hi,
I want to print a web page. There is a text area in the page.
In print view,if contents of the text area is more than 1 page limit, it does not print remaining contents on second page. Also, text area's row number is limited to 80 for example. If contents of text area is over 80, iprint view does not show reamining. What should I do?
Cheers,
burcu
 

Have a separate style sheet for print media that has no size restrictions on the textarea... That way you can size it for screen, but let it flow for print.

See my reply in this thread: thread215-857753

for more information on how to do this.

Hope this helps,
Dan


 
I don't know much about media tag. I don't understand to define two views. Even if i don't write rows property in text area tag, and define height as 100% and rows=150 in my style. Browser don't show in print preview height as 100%. Also, I don't understand to define two views one for print and one for screen. How can I apply two views to one text area at the same time?Is this a so basic question?:)
Also, when text area's content is more than one page size. The content is shown in print preview over the second page, however it is not printed. Is there an example you can suggest me to review?

<style type="text/css" media="print">
form {
position: relative;
width: 100%;
height: 100%;
border: 1px solid black;
margin-bottom: 0;
padding: 0.15cm;
}
textarea {
page-break-inside:auto;
page-break-after:left;
height: 100%;
overflow: visible;
rows:150;
}
.......
<textarea name="textarea" cols="125" wrap="PHYSICAL" >
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top