Reply
How do you print a page that's very wide?
Old 05-16-2004, 02:39 PM How do you print a page that's very wide?
Novice Talker

Posts: 9
I was at http://tech.irt.org/articles/js128. This page is *v-e-r-y* wide. Even when I printed it in landscape mode, it ran off the edge of the paper!

Why on earth do people do this? And is there any way at all of coping with a situation like this?
notmadscientist is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-16-2004, 09:36 PM
cmonkey's Avatar
Ultra Talker

Posts: 268
The line in the page that's causing the problem is the line of code about a third of the way down:

window.open('testpage.htm','myExample5','width=200 ,height=200,directories=yes,location=yes,menubar=y es,scrollbars=yes,status=yes,toolbar=yes,resizable =yes');

There's no spaces in the line so the browser tries to print it as one line, thus stretching the rest of the text to the width of the page. I just saved the page to my computer and put a line break in that line of code using Notepad and it printed fine.

Please note: I was unable to save the page using Internet Explorer, but it did save in Firefox, probably some stupid Javascript trick.

Anyways, hope this helps
cmonkey is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do you print a page that's very wide?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10682 seconds with 12 queries