Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: not2easy
I couldn't get anything to work.
So I'm also interested to see if someone found a solution that's cross-browser compatible, or there isn't one.
<div style="width:500px;height:500px;overflow:auto;border:1px #000 solid;">
All the text here...
It'll look almost like your textarea, but it can easily print by changing the CSS. I've used inline styles, but you'd want to use an external stylesheet.
white-space:pre-wrap;(although not very well supported!) or manually replace every new-line with a <br> ...?