Click to See Complete Forum and Search --> : Hide from printer?


said_fox
02-03-2003, 09:02 AM
I heared about that CSS can hide some parts of the page from the printer.
So what's the tag or command which can do this in CSS
:D

Stefan
02-03-2003, 09:27 AM
<style media="print" type="text/css">
.noprint {display:none;}
</style>
</head>
<body>
<p class="noprint">This won't be printed in a non buggy CSS browser</p>
<p>But this will</p>

Paco Zarabozo
02-16-2003, 04:02 PM
So, using this you can give totally different appearances to the content in the browser and the content in the printed page? (ex. different fonts and sizes)

Paco.

Stefan
02-16-2003, 06:39 PM
Originally posted by Paco Zarabozo
So, using this you can give totally different appearances to the content in the browser and the content in the printed page? (ex. different fonts and sizes)


Yes, and you can even change the entire layout of the page.