1
   

Hiding content when printing

 
 
Reply Mon 8 May, 2006 05:00 pm
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?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 559 • Replies: 0
No top replies

 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Hiding content when printing
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/19/2025 at 12:49:50