boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Obsolete htm, media="print" and php:)

 
Post new topic   Reply to topic    boardom Forum Index -> PHP help
View previous topic :: View next topic  
Author Message
Sigg3



Joined: 03 Jul 2003
Posts: 889
Location: Oslo, Norway

PostPosted: Wed Dec 08, 2004 10:35 am    Post subject: Obsolete htm, media="print" and php:) Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> PHP help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group