Print orientation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CheGueVerra

    Print orientation

    Hi All,

    Wondering if there is a way to force the print orientation to landscape
    using css?

    Thanks


  • Lauri Raittila

    #2
    Re: Print orientation

    in comp.infosystem s.www.authoring.stylesheets, CheGueVerra wrote:[color=blue]
    > Hi All,
    >
    > Wondering if there is a way to force the print orientation to landscape
    > using css?[/color]

    There is no way to force anything in author stylesheets, so lets consider
    if for userstylesheet angle (makes no difference):

    Yes. CSS2. AFAIK only works in print *preview* of some old Opera versions
    (6 or 7), and special software. It is not included in CSS21.



    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Utrecht, NL.

    Comment

    • Steve Pugh

      #3
      Re: Print orientation

      "CheGueVerr a" <brent_remov_@n otgtechna.com> wrote:
      [color=blue]
      >Wondering if there is a way to force the print orientation to landscape
      >using css?[/color]

      Yep. See http://www.w3.org/TR/CSS2/page.html#propdef-page

      The fact that this was dropped from CSS 2.1 probabluy gives you some
      idea of how good the browser support is.

      Something similar is coming in CSS 3
      http://www.w3.org/TR/2004/CR-css3-pa...page-size-prop but I
      don't know whether any browser supports that part yet.

      Steve

      --
      "My theories appal you, my heresies outrage you,
      I never answer letters and you don't like my tie." - The Doctor

      Steve Pugh <steve@pugh.net > <http://steve.pugh.net/>

      Comment

      Working...