Previous Message
Next Message

Print problem in IE XP only

Sent by Gunlaug_Sørtun on 9 February 2005 07:07


Roger Roelofs wrote:
> I can confirm that ie/win doesn't re-compute box dimensions for 
> printing.  At one time mhvillage.com used a fixed position layout and
>  i fed absolute position values to ie via expressioins to mimic the 
> same behavior.  I found the only way to overcome the problem was to 
> attach javascript code to the 'onbeforeprint' event to recalc the box
>  sizes in a way that fit printing.

Roger,
thanks, you confirm my newly found IE-weakness. Time to kill that bugger.

Have you, or anyone else, tried using expressions to feed IE/win new
print-values? After all; expressions are javascript-based, and should
work just as well as a script. If should be possible to feed auto-width
and other "leave it to user"-values that'll override any fixed or
alternating values.
Just a thought-- before I start testing all possibilities on my own site.

Side note: my IE6/win2K is not applying javascript-switched alternating
styles for print, to do content-panel-switching, on my bilingual pages.
It works fine on screen in IE, and Opera, Moz/FF and Safari apply these
alternating styles to both screen and print. IE prints out with all
panels open, so nothing is lost there either.
- To those interested: I use a multiple-stylesheet swapper script to
"merge" any number and combination of stylesheets to form complete
pagestyles. This makes CSS do a lot more than a single-stylesheet
switcher will allow-- and I can have a lot more fun with CSS. :)

regards
	Georg
<http://www.gunlaug.no/>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: