/ Published in: CSS
From this article, Martin "mpot" Pot mention:
" The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displayed when printed, but will be displayed for all other media types. "
" The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displayed when printed, but will be displayed for all other media types. "
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<style type="text/css"> @media print { .noprint { display: none; } } </style>
URL: http://martybugs.net/articles/print.cgi