Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide text in printout

 
cavin brown
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To hide certain text in the print out... I made the font color white and added a dark background behind the text, assuming that the white text wont turn out on the page. but the text still shows up on the print out.

Please advise how to make a text visible on the page but invisible on the printed page.

Cavin
[ April 18, 2006: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search google for CSS Print Media

and set the dtyle to disply none

Eric
 
cavin brown
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric... it worked.

I just had to make the text invisible in my '<LINK media=print' css.

Cavin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic