Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create a A4 size div

Status
Not open for further replies.

richardko

Programmer
Jun 20, 2006
127
US
Hi,
I need to create a div that is standard A4 size paper. Basically this is to print out orders for our company in a standard format. Any idea how to go about creating this?
Thanks
 
Code:
<div style="width: 210mm; height: 297mm"></div>
Here it is.
 
Though you need to make allowances for the page margins, which will vary from browser to browser and printer to printer, and over which you have little or no control.

Producing consistent paper documents in HTML is a tricky business.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top