471,593 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,593 software developers and data experts.

Making browser default to landscape mode

Claus Mygind
571 512MB
For my intranet web app we use exclusively FireFox as our browser. I have a report I want to format in the landscape mode and would like to include that code in the print button I display for the user.

If it is possible could you please show some sample code?
Jan 8 '10 #1

✓ answered by acoder

For printing, it's usually best to use print stylesheets (media is print). That way there's no need for any printer-friendly pages - you just style it using CSS.

2 2410
Dormilich
8,656 Expert Mod 8TB
I have a report I want to format in the landscape mode and would like to include that code in the print button I display for the user.
what does that mean?
Jan 8 '10 #2
acoder
16,027 Expert Mod 8TB
For printing, it's usually best to use print stylesheets (media is print). That way there's no need for any printer-friendly pages - you just style it using CSS.
Jan 10 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by |-|erc | last post: by
3 posts views Thread by MarcJ | last post: by
5 posts views Thread by Robert Schuldenfrei | last post: by
6 posts views Thread by Jeff Robichaud | last post: by
5 posts views Thread by cpopham | last post: by
2 posts views Thread by Ralf | last post: by
1 post views Thread by lord.zoltar | last post: by
1 post views Thread by nuhura01 | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.