Posted By

localhorst on 07/04/08


Tagged

css ie print landscape


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

wizard04
SpinZ


Force Specific Content to Print in Landscape Orientation


 / Published in: CSS
 

URL: http://web.tampabay.rr.com/bmerkey/examples/landscape-test.html

This handy trick works in IE5.5/Win and newer. It assumes that the default printer orientation is portrait.

  1. <style type="text/css" media="print">
  2. div.page {
  3. writing-mode: tb-rl;
  4. height: 80%;
  5. margin: 10% 0%;
  6. }
  7. </style>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: arbas on July 24, 2012

I have been reading out some of your stories and i can state clever stuff. I will make sure to bookmark your blog. Iklan Internet Murah Efektif Berkualitas Indonesia love quotes

You need to login to post a comment.