Results 1 to 2 of 2

Thread: CSS To Print Landscape?

  1. #1
    Join Date
    Feb 2003
    Pittsburgh, PA

    Question CSS To Print Landscape?

    Someone told me you can use CSS to force a webpage to print landscape. Does anyone know how to do this? What I want to do is the following: I want to open a report (cfm page) and then I'm using Javascript to print it and then close it. I need to somehow specify to print Landscape without going to File, Page Setup, Landscape, b/c the user may not realize this needs done. Any suggestions? Thanks.

  2. #2
    Join Date
    Nov 2002
    XYZZY - UK

    <style type="text/css">
    @page { size: landscape; }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles