Reputation: 31
I have an HTML document that consists of two pages. The first is A4 portrait size and the second is A4 landscape size. I have this setup for IE9 so that on screen it displays in a readable format but if you print it, it rotates the second page by -90 degrees (so that it prints on A4 properly) using
-ms-transform: rotate(-90deg)
This also uses a translate to reposition the page properly. This is applied to a div which each page is embedded in. Within that is just tables.
This works fine in IE9 but in IE6 (and I assume IE7 and IE8) this doesn't work as earlier versions do not support transforms. Is there any way of doing this in IE6?
Upvotes: 0
Views: 306
Reputation: 5353
Give this a shot.
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
rotation=1 means it will rotate 90 degrees. The base is 90, therefore 2 = 180, 3= 270 and so on.
Upvotes: 1