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 6 of 6
  1. #1
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Print Stylesheets: Help!

    *EDIT* Nevermind!

    We figured our main issues out RIGHT after I posted this.

    But if anybody has any recommended resources for creating Print Stylesheets, feel free to post 'em here. Or we could just start a Print Stylesheet pow-wow in here.

    P.S. Don't post the ALA article, we're familiar with that one.
    Last edited by coder_seth; 03-03-2004 at 08:56 PM.

  • #2
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I know I may not be a mod here, but in the future it helps if you post an answer to your original question if you work it out, rather than removing the question and saying you sorted it, as this means other people that may have the same problem can search and find the answer in the thread.

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    I agree with missing-score. I was hoping to learn something about style-sheets and how they are used with print.

  • #4
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I take no responsibility for the above nonsense.


    Left Justified

  • #5
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Lol thanks for the links lemming.

  • #6
    Banned
    Join Date
    Jan 2004
    Location
    Minneapolis, MN
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Good point, missing score.

    In short, here's what we had going on:

    -Our layout was all CSS, and centered using the negative margin method. So we had a container div with absolute positioning shifted from the left 50%, and then offset back to the left with a negative margin since just doing left: 50% will put the left most corner at 50%, and not the middle of your whole container.

    -For our Print Stylesheet then, we simply removed the absolute positioning rules for the container, so when we previewed for print, we were confused as to why everything was shifted off the left side of the page.

    -What we failed to realize is that without specifying position: static for the container in the print sheet, it inherited the absolute positioning from the default stylesheet. The negative left margin was what was shifting it off the page.

    One of those obvious things that just didn't hit us at first.

    Thanks for the links, Lemming.


  •  

    Posting Permissions

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