Yale University Library

 

Workstation and Technology Services

Quick Links
How to make your existing Web pages printer-friendly

If you have created departmental or personal Web pages and found that when you attempt to print them the text is clipped along the right margin, add these 3 lines to your template and it will print with full text.

Add the following line just above your close head tag </head>

   <link rel="stylesheet" type="text/css" href="http://www.library.yale.edu/wsg/cssprint/print.css" media="print"> 

Add this div tag just above your main text block

   <div id="main">

Close the div tag at the end of your main text block

   </div>

Click File -> Print Preview to view the results. Your page should appear full justified without any text clipping along the right margin.