I have a problem where a very tall <textarea></textarea>
control doesn't fit on an A4 page when the web page is printed. On the web page inside a browser, the textarea displays just fine, but when I go to print it the bottom of the textarea gets chopped off the bottom of the page, it doesn't continue to print onto the next page. I have this problem in Firefox 3.5 and IE7/8.
I have tried applying numerous CSS styles to the <textarea>
control including page-break-inside: avoid
and overflow: visible
but to no avail.
Edit: here are all the styles that are getting applied according to Firebug:
element.style
{
height:1400px;
overflow-x:visible;
overflow-y:visible;
}
#content div.interviewGpForm div.formRow div.formElement textarea
{
margin-left:1px;
}
#tabContent input, #tabContent select, #tabContent textarea
{
width:80%;
}
textarea
{
font-family:Arial,Helvetica,sans-serif;
font-size:1.2em;
padding:1px;
}
input, select, textarea
{
border:1px solid #BFCDC9;
}
textarea
{
page-break-inside:avoid !important;
}
#page
{
text-align:left;
}