| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CSS Print Media
Just wondering how to go about printing something that doesn't show on screen?
I know how to use the print media to stop anything printing but I want a message appended to the bottom of a page that will only show when printed. Any ideas? Cheers, Dean |
|
#2
|
||||
|
||||
|
try something like this:
Code:
<p class="printonly">This will only show when printed.</p> then within your CSS for display (screen) have this: Code:
.printonly { display: none; }
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#3
|
||||
|
||||
|
Cheers,
Will give that a go a little later. Dean |
|
#4
|
||||
|
||||
|
glad it's working ... i just had to do this for something that needed to be printed with headers on all pages ...
|
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > CSS Print Media |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|