faqts : Computers : Programming : Languages : JavaScript : Event handling

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

31 of 38 people (82%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How do I force a document to print in a differant font and margin size than what is viewed.

May 24th, 2001 08:15
jsWalter, jacque leavitt,


This takes an additional Style sheet...
	<!-- style definitions for screen -->
	<link href='../styles/myStyles.css'
	      rel='stylesheet'
	      type='text/css'>
	<!-- style definitions for print -->
	<link href='../styles/myStylesPrint.css'
	      rel='stylesheet'
	      type='text/css'
	      media='print'>
The first is the definition on screen characteristics.
The second is used for printing.
I even have fields that are hidden on the screen show up on the 
printout!
Walter