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 5 of 5
  1. #1
    New Coder
    Join Date
    Nov 2004
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I Need a print stylesheet for this..

    Hi

    Could someone assist me in making a print stylesheet for this site please!

    http://calibrehr.com/new/

    What I need is:

    just the logo to display (remove nav)
    The text in the orange block to span the width of the page
    Remove subnav
    Some how diplsay the text that is in the purple boxes below the main content text

    I am stuck as to what to do and could really appreciate some help

    Many thanks!

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    If you want to remove divs etc from being printed, just apply display:none to it's class in your print stylesheet.

  • #3
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Posts
    624
    Thanks
    20
    Thanked 19 Times in 18 Posts
    Hi Mumford,

    I had a requirement to do this a short while ago; here's a thread that has a few solutions - it worked for me! http://www.codingforums.com/showthre...ighlight=print

    Regards,
    Mike.
    Die Welt ist ein Irrenhaus und hier ist die Zentrale!

  • #4
    New Coder
    Join Date
    Nov 2004
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the reply!

    I have updated my print stylesheet. http://calibrehr.com/new/print.css
    All the answers I am getting for this post are "just put display none", yes I know that, but such is my design, I need the main content area to fill the page and how do I make the text boxes that run along the left hand side to fall under the main content area text.

    But what I was asking for was, how do I make the main content area fill the page and how do I make the text boxes that run along the left hand side to fall under the main content area text
    Thanks again

  • #5
    Regular Coder mlse's Avatar
    Join Date
    Mar 2005
    Posts
    624
    Thanks
    20
    Thanked 19 Times in 18 Posts
    Check out the javascript example in the thread in the link that I posted - a bit of lateral thinking will show you how to use the principle demonstrated there to provide any kind of alternative printing layout for your pages. Don't worry, you don't have to be a Javascript nut to figure it out! (I had written about 3 lines of javascript in my entire life before having a go!)
    Die Welt ist ein Irrenhaus und hier ist die Zentrale!


  •  

    Posting Permissions

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