Hello,
I'm trying to set a webpage to landscape when the print button is pressed (i.e. I have a button that issues 'print();').
I found some forums stating this code should work with IE7
but it doesn't seem to.
Have I got the code wrong?
Can you set the print orientation via JS or CSS ?
Any help appreciated.
Cheers,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
I'm trying to set a webpage to landscape when the print button is pressed (i.e. I have a button that issues 'print();').
I found some forums stating this code should work with IE7
Code:
@page { size: landscape; }
Have I got the code wrong?
Can you set the print orientation via JS or CSS ?
Any help appreciated.
Cheers,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!