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 4 of 4
  1. #1
    jms
    jms is offline
    New Coder
    Join Date
    Nov 2002
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTML/CSS Printing

    Hi everyone!

    I'm not sure what is the best solution to the problem. I am working on this website, using css absolute positioning with overflow: auto. The issue is the client would like web visitors to print the page if they wish to, by clicking the print icon or file/print on the tool bar. When you do this only the part of the page that is displaying on your screen is printed, regardless of what is beyond the scrollbar.

    url:
    www.sauceontheside.com/product.html[/URL]

    Any ideas or suggestions would be great.

    thanks
    Joy

  • #2
    New Coder
    Join Date
    Oct 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why don't you set up another CSS sheet with the media type set to print? In that sheet, set the body to be an explicit size, or turn off overflow.

    Check here for information on CSS media types: http://www.w3.org/TR/CSS21/media.html

  • #3
    Regular Coder trib4lmaniac's Avatar
    Join Date
    Feb 2004
    Location
    Cornwall, UK
    Posts
    535
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your site's pretty slow to load

    Run a test (here) to see how you can optimize it.

  • #4
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    All his images are jpeg, probably at max quality.


  •  

    Posting Permissions

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