Link to home
Start Free TrialLog in
Avatar of k2consulting
k2consulting

asked on

CSS TextArea Print

I would like to set up a css for printing of my forms.  However my forms contain a lot of different sized textareas.  I would like the entire contents of each textarea to be printed.  How can this be done without sending the contents off to another dedicated page?  Can it be done using css at all or should I use Javascript to resize each of the boxes?
Avatar of GrandSchtroumpf
GrandSchtroumpf

You can use javascript to transfer the content of your textarea into a block-level element that is hidden on screen media.
Then use CSS to hide the textarea and show the block element on printed media.
Avatar of k2consulting

ASKER

How would this be done?
ASKER CERTIFIED SOLUTION
Avatar of GrandSchtroumpf
GrandSchtroumpf

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK I will give this a try.
Good solution. :)