Forum Moderators: open

Message Too Old, No Replies

"printing with IE 5"

Right side g page being cut off

         

kmassing

1:49 pm on Nov 28, 2002 (gmt 0)



We are looking for JavaScript, .CSS or something to correct the right side of web
pages being cut off when printing from IE 5.5 and 6.x.
We have all Intranet pages within an 800 pixel wide table for display on
typical 800x600 resolution monitors.
IE cuts the right side of the table off (see
[support.microsoft.com...] (setting
the margins as explained in the MS article is not enough) Netscape does not.
IE is our standard browser. We can provide PDF files for printing, but our
resources for staffing for this are limited.
Is there any way to set print parameters with scripts?
TIA,
ken

SuzyUK

2:07 pm on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's because you've specified a pixel width for the table
it's going to fixed at this width for printing too..

one solution would be to change your table width to 100%
then make the columns percentages too..it should still display to fit your screens as it will fill any size of screen..and it will also correct itself to 100% of the paper width when it comes to printing

Suzy

indiechild

2:08 pm on Nov 28, 2002 (gmt 0)

10+ Year Member



yep non-liquid table layouts can be troublesome when it comes to printing :(

BlobFisk

3:34 pm on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could also use the media="screen" property for you CSS and redefine the widths of your layers etc. in this for-print only CSS file.

535px (IIRC) is the recommended width for A4 printing (allowing for gutters and margins).