Click to See Complete Forum and Search --> : Print Landscape
bazjones
01-04-2005, 06:07 AM
I am using css in my website but have only recently started using them, i have one set up for media="screen" and another for media="print". When the page prints at the moment it prints in portrait is there a way whcih i can get it to auto print in landscape as it is a table holding alot of data??
Thanks
Baz
wamboid
01-04-2005, 08:14 AM
At w3.org (http://www.w3.org/TR/REC-CSS2/page.html) in section 13.2.2 you will find something similar to this:
@page {
size: landscape;
}
Note, I've never personally used a stylesheet specific for printing, but have been researching it recently.
ray326
01-04-2005, 09:05 AM
AFAIK at this time the selection of print orientation is done by the user and although you can "suggest" an orientation in the styles, it's very unlikely that a current browser will act on it.
Robert Wellock
01-05-2005, 09:24 AM
Print orientation was available for Opera and Mozilla however it was decided the user should have ultimate control. Very few pages are printed although I did go to the bother of creating a simple one specific for printed media here: http://www.xhtmlcoder.com/worthvalley/ although I never got around to polishing it fully though.