Sigg3
Joined: 03 Jul 2003 Posts: 889 Location: Oslo, Norway
|
Posted: Wed Dec 08, 2004 10:35 am Post subject: Obsolete htm, media="print" and php:) |
|
|
I'm having this problem at work, since the Publication Department doesn't want to go db'ing just yet, and they're still clinging on to Dreamweaver and obsolete .htm format...
So, they want me to make this page printable.
I made a simple css and put it media="print", while making the other two (overlapping and poorly written) css files media="screen".
That should work.
I also used "print-values" like cm instead of their em values on fonts and such, but still the print-out cuts the page in half horizontally. I've added margins and padding (haven't tried max-width on the body yet), and done several print-outs, but it seems their tables are overriding the css.
Is there a way I could either
a) use the table element in css to strip it for length values and such
b) use a php -strip method to strip the code and then re-building it with the printcss file?
The simplest solution is of course doubling the files, making dedicated print-able files, but they're already flooded with overlapping copies and I never disapprove of a good challenge. Plus, they are really long documents.
Thanks for all help!! _________________ Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center |
|