Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- javascript div resize breaking print stylesheet


penders - 9:50 pm on Mar 10, 2007 (gmt 0)


...I can comment out the one line that does the resize, and it's fixed.

So, if you can prevent the resize from happening when you are printing (ie. when the print stylesheet is being used) then it should work...?

But how do you detect if the print stylesheet is in use? I guess you can check (in your resize function) for a particular property on an element being set - which is only set in the print stylesheet? And abort the resize if true. Will that work?

Is there a better way to detect if we are printing (cross-browser)?
[webmasterworld.com...]


Thread source:: http://www.webmasterworld.com/css/3277057.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com