SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS and Printing

    Hello,

    I have a problem with printing a page which uses overflow and such...

    This is the part of the css that goes in the 'screen' part:

    #panelColRowHeaders { overflow: hidden; }
    #panelRowHeaders { overflow: auto; }
    #panelColHeaders { overflow: auto; }
    #panelRows { overflow: hidden; }

    When I print the css looks like this:

    #panelColRowHeaders { }
    #panelRowHeaders { }
    #panelColHeaders { }
    #panelRows { }

    So on my webpage, the information in the panel is shown with scrollbars when needed.

    If I print the information, it just has to be displayed as one big list without the scrollbars. In vertical direction, everything works well (getting 2 or more pages out of the printer). But my problem lies in printing in horizontal direction. The last column (most right) on the first page is cut off and the rest of the columns don't come out of the printer (for example on another page as I would pressume...)

    Can it be solved by css?

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,296
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    If we had a link to your page then we could see whats happening and offer some advice as its always hard to tell without seeing all the code.

    Setting up printsheets can be awkward and browsers arent perfect. Also you have the default page settings on browsers print options that can't be changed anyway.

    Have a look here for some info that might help.

    http://www.alistapart.com/articles/goingtoprint/
    http://www.meyerweb.com/eric/article...ev/200001.html


    Paul


Bookmarks

Posting Permissions

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