Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Location
    California
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Print Margins with CSS

    Hi,

    I'm completely lost. I looked around but couldn't find any solid info. on how to offset print margins within a CSS. Would someone please teach me? I tried the @print but was unsuccessful...

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    did you try this:

    <link rel="stylesheet" type="text/css" media="all" href="style.css">
    <link rel="stylesheet" type="text/css" media="print" href="print.css">

    Or this:

    <style type="text/css" media="all">@import "style.css";</style>
    <link rel="stylesheet" type="text/css" media="print" href="print.css">

    Another stylesheet for printing. It only has to contain the style you want to overrule or add.

  • #3
    New to the CF scene
    Join Date
    Jan 2003
    Location
    California
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you so much MCookie, that is exactly what I needed to know to get moving again. Now what do you know about VBA for Excel?


  •  

    Posting Permissions

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