Hiding content whilst printing

Discussion in 'OT Technology' started by noeltazz, May 9, 2006.

  1. noeltazz

    noeltazz New Member

    Joined:
    Apr 29, 2005
    Messages:
    1,704
    Likes Received:
    0
    nevermind the no AV, Ive got a sub

    I'm trying to program a page to print without all the navigational bars and extra stuff on it because it pushes the actual content off the side leaving parts clipped off at the moment. I'm using a css print technique, but when I go to print preview, the whole page is blank.
    This is how I programmed it. The .hinc file includes all the navigational bars



    <style media="print" type="text/css">
    .noprint {display:none;}
    </style>
    </head>
    <!-- xxxxxxxxxx begin left hand html navigation xxxxxxxxxxx -->
    <p class="noprint"><!-- #include file="haascontent.hinc" --></p>
    <!-- xxxxxxxxxx end left hand html navigation xxxxxxxxxxx -->



    Anyone got any ideas?
     

Share This Page