Posted By

HubertGaulin on 04/08/09


class display print

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


CSS class for not displaying tag groups in print pages

 / 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. "

  1. <style type="text/css">
  2. @media print {
  3. .noprint { display: none; }
  4. }
  5. </style>

Report this snippet  

You need to login to post a comment.