printing a textbox from a webpage

G

Gerry Metze

I have a webpage that includes a textarea filled in by
the program. A button copies the textarea to a new
webpage which has a small gif, a couple of buttons to
invoke window.print(), and the textarea with enough rows
to not require scroll bars. The problem I have is:
As long as the textarea is small enough so that the
window has no scroll bars, the print works fine. But
when the textarea gets larger, what is printed is (1) a
page showing the stuff UP TO the textarea but blank
otherwise, (2) a page showing the first PART of the
textarea, and (3) a page showing the stuff that's BELOW
the textarea.

What's going on here, and does anyone have any
suggestions?
 
G

Gerry Metze

I found an answer myself. This appears to be a bug in
Explorer. The workaround is to not use a textarea but
write it instead to a table (replacing all CrLf's with
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top