Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Jan 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Page Margins? (6.0.2800)

    Gang,

    What are the default page margins in IE6? I had experienced a problem where web pages were cut off on the right when I printed...so I opened the Page Setup dialog, entered 0 for each margin; & they all defaulted to the minimum setting (.25" top & bottom, .7" top & .46" bottom.)

    Then (like a knucklehead), I designed a web form for my company, to "my" customized settings. The company requires the form to be printed & signed...& now the forms have begun to filter into the office with the page cut off on the right.

    So...I need to know what the defaults were (since I can't recall), so I can redesign to that criteria.

    Thanks,

    DesRev1

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Page Margins? (6.0.2800)

    Have you considered using a style sheet to define the printed output? I suspect that it may be a better solution than trying to control the output from several other browsers.
    -Mark

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Page Margins? (6.0.2800)

    Try something like .75" all the way around - although your mileage may vary.

    To put <!profile=WyllyWylly>WyllyWylly<!/profile>'s point slightly differently, what are you going to do about people who have set their margins extra wide?
    Gre

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Default Page Margins? (6.0.2800)

    Why not design a form to be only 6 inches wide (96 pixels per inch I think is the standard)? You could push the boundaries, but unless beauty is important, I don't see the point. If beauty is important, submit the form to a server-side script (e.g., using ASP, JSP or PHP) and deliver a PDF back for printing. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

  5. #5
    New Lounger
    Join Date
    Jan 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Page Margins? (6.0.2800)

    Everyone...

    Thanks!

    WyllyWylly,

    Tell me more! (Style Sheets for controlling browser page margins during printing, universally.)

    Thanks,

    DesRev1

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Page Margins? (6.0.2800)

    Not knowing how familiar you are with CSS, let me first show you a simple example. Include this statement in the header of your HTML document; it will not affect any styles that are applied to pages displayed on-screen (only one style at a time can be used).
    <pre><LINK REL="StyleSheet" HREF="printstyle.css" MEDIA="print"></pre>

    Substitute "printstyle.css" with the name of the style sheet you wish to use for printing.

    The important element here is the MEDIA="print" statement, which applies the style to printed documents only. If you have ever noticed sites that have a "printer friendly" page, this is a way to avoid having users click on another link to get a decent printout. In the style sheet itself you can define margins in inches, which is more relevant than pixels, which are natural to a computer display but not printed documents.

    There is a pretty good review of this concept here although I think the wording is a little obtuse. Still, it is well worth a read if you are going to consider using this method.
    -Mark

Posting Permissions

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