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!

CSS & Printing

Status
Not open for further replies.

StephanieCC

Technical User
Aug 28, 2001
48
US
I am trying to use CSS to print a web page to prevent cutting off the right side--I've seen the code below but don't know how to use it--does it go in the regualr style sheet and if so where and with anything else before it? Or do printing instructions go in a separate media style sheet?
If I understand this correctly, you can adjust the printing margins to accomodate for width--is that right?
@page (or) @media print { size 8.5in 11in; margin: 2cm; }

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top