pendle666
01-31-2003, 04:51 AM
Hi,
I've got layout.css for the screen layout and print.css for the print layout.
What I would like to do, is have some text in my html file which is only viewable when printed. (contact details).
The layout.css looks like this:
#printfooter {display: none;}
.printtext {display: none;}
and the print.css looks like this:
#printfooter {margin: 1.3em 0.9em 1.5em 1em; }
.printtext {font : 10pt verdana, arial, helvetica, sans-serif; text-align: right; color : black; }
I reckoned that if its possible to use print.css to not print parts of a page, then it would work the other way round.
Can I have text which only appears on printing or am I asking for too much!?
Pendle
I've got layout.css for the screen layout and print.css for the print layout.
What I would like to do, is have some text in my html file which is only viewable when printed. (contact details).
The layout.css looks like this:
#printfooter {display: none;}
.printtext {display: none;}
and the print.css looks like this:
#printfooter {margin: 1.3em 0.9em 1.5em 1em; }
.printtext {font : 10pt verdana, arial, helvetica, sans-serif; text-align: right; color : black; }
I reckoned that if its possible to use print.css to not print parts of a page, then it would work the other way round.
Can I have text which only appears on printing or am I asking for too much!?
Pendle