Forum How do I...?

Teaxtarea spanning 2 pages - bad page break

lindm
Got a problem. Have a textarea element containing text approx 1,5 A4 page. When rendering the textarea is pushed down to a new page and half of the text is cutoff (ie does not extend to page three...).

Any one seen this problem before? As there a way to force page breaks inside an element?
lindm
This css seems to help:

textarea {
display: table-row;
page-break-inside: auto;
}
mikeday
The default HTML style sheet makes textarea an inline-block, which is not very convenient for breaking over multiple pages. Turning it into a table row or table cell is actually a good idea that should improve the rendering. :)