Forum Moderators: not2easy

Message Too Old, No Replies

"Printer Friendly - Version"

         

gmaltais

9:07 pm on Mar 16, 2004 (gmt 0)

10+ Year Member



I have this HTML file that I am working on that I want the user to be able to print on a 8 1/2" x 11" no matter what browser he is using.

Is there a way to format the page this way so that it's perfect for printing everytime?

Thanks..

Guy

PatomaS

11:14 pm on Mar 16, 2004 (gmt 0)

10+ Year Member



Hello

:)

well, since the html is made for the screen, there is no a "prefect" control over the printed things, but you can try using css and diferent units, i know you can use "cm" and i supose you can use "inch" as well, but in my experience, ther is not an infallible solution.

Bye

benihana

10:49 am on Mar 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if there are elements of the html page that dont need printing (decoration, navigation etc) you can use a print stylesheet e.g.

have a another css file and import like:

<link href="print.css" rel="stylesheet" type="text/css" media="print">

and then in that file have e.g.

.navigation {
display:none;
}

this might give you more room on your print out for the real content.

ben