Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: CSS for printing and tell-a-friend scripts

by amrangaye (Friar)
on Dec 07, 2004 at 15:11 UTC ( [id://412919]=note: print w/replies, xml ) Need Help??


in reply to CSS for printing and tell-a-friend scripts

Hi
Here are some answers to your questions:

  1. For the tell-a-friend script you might use a combination of CGI (to display the page and get the friedn's email address from the user), and one of the Mail modules from CPAN to send the email. As always, do research on these, write some code, and post any further question you have. People here will gladly answer them.
  2. For printer-friendly pages, one way is to use CSS (Cascading Style Sheet). IMSMR, you can put something like:
    media:print{ color: black; }
    in the CSS section of your page. Replace color:black with whatever you want your printed pages to look like. Most modern browsers recognize this and will use it when printing.

Cheers!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found