Page 1 of 1

printing size to big!

Posted: Mon Jan 23, 2006 9:03 pm
by joecrack
i have a problem with my printinglayout.
it is a very big table that needs to be printed.
when you see the table in the browser the font size needs to be something like 8pt so that anybody is able to read it. but when it comes to the printing it needs to be something like 4pt to fit it on the A3 paper.
so i didnt find a css option that changes the font size when you print it out.
how can i solve this? i hope someone can help me with this prob.

Posted: Mon Jan 23, 2006 9:12 pm
by feyd
search around for the media property/attribute

Posted: Tue Jan 24, 2006 6:43 am
by ed209
use (expansion on above reply)

Code: Select all

<style type="text/css" media="screen">
         /*  make your font 8pt in here for viewing on screen / browser */
</style>

<style type="text/css" media="print">
         /*  make your font 4pt in here for printing */
</style>


also, 4pt seems quite small....