View Single Post
Old 06-26-2007, 11:54 AM   #20 (permalink)
Teranoz
Webcoder
 
Teranoz's Avatar
 
Join Date: Jan 2003
Location: Netherlands
Posts: 1,288
Points: 0
Quote:
Originally Posted by ClevelandSlim
Thanks for the info man. One question... will this work for form items such as text input boxes, checkboxes, and radio buttons?

~Slim~
yep

input type="text" class="noprint"

or if you want it with all input things

[style type="text/css" media="print"]
input, select, textarea {
visibility:hidden;
}
[/style]

You could also put the part you dont want to print in a table with the class noprint

table border="0" cellpadding="0" cellspacing="0" class="noprint"

or put these around it :
[span class="noprint"]
non printable content goes here
[/span]

(and like always, change the [ and ] into the html brackets)
Teranoz is offline   Reply With Quote Send a private message to Teranoz