Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Austin Klenk
4,399 PointsPrint Landscape Orientation
I am working on a web work order form were i can fill out online and print off, instead of using excel.. but i need to preset the print.css to set it to print landscape. any ideas?
4 Answers

James Barnett
39,199 PointsTry using
-webkit-transform: rotate(-90deg);
-moz-transform:rotate(-90deg);
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

Austin Klenk
4,399 Pointsthat previous one u sent worked for google chrome, but not for safari or firefox
@page {
size: landscape
}

James Barnett
39,199 PointsYep, that's why I changed the answer

James Barnett
39,199 PointsThere's currently a bug open with Mozilla about lack of support for this in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=851441

Austin Klenk
4,399 Pointsjust put it in the ?
@media print {
}

James Barnett
39,199 PointsThat sounds like a good plan, test it out

Austin Klenk
4,399 Pointsdidn't work.

Austin Klenk
4,399 Pointsnope it did not work :(