Topic: Table width for printing Pages that link to <a href="https://ozoneasylum.com/backlink?for=10624" title="Pages that link to Topic: Table width for printing" rel="nofollow" >Topic: Table width for printing\

 
Author Thread
Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

IP logged posted posted 11-10-2001 15:59 Edit Quote

Greets!

I'm trying to develop a "printer version" template for a site, and was curious as to if anyone has some pointers about a safe width that won't get cut off when printing.

Thanks!

[yp]
Nervous Wreck (II) Inmate

From: Atlanta, GA, USA
Insane since: Nov 2001

IP logged posted posted 11-11-2001 21:02 Edit Quote

hey pugzly (great name, btw) -

have you messed around with printer-specific stylesheets? It depends on how the rest of your document is setup i suppose, but I have used these in some situations with great success.

it goes something like this:

code:
<!-- 
this stylesheet will affect the layout of printed versions
does not work in nav4 and older browsers, but what does, really?
-->
<link rel="stylesheet" type="text/css" href="print.css" media="print" />



inside your stylesheet you could override the width of your root table with "auto" or "100%" (that may not work depending on margins and other things), which will cause it to just take up as much space as possible on the page.

simple example here: www.segalco.com/government/index.cfm

like your mom, only more fun in the sack



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu