Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by eieio (Pilgrim)
on Dec 07, 2004 at 15:03 UTC ( [id://412916]=note: print w/replies, xml ) Need Help??


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

To address the second question, use a print-specific Cascading Style Sheets to make print-friendly pages. The media type specifies which style sheet should be used. For example:
<link rel="stylesheet" media="screen" href="/screen.css" type="text +/css" /> <link rel="stylesheet" media="print" href="/print.css" type="text/c +ss" />
This allows you to have a page that is rendered based on the media type specified by the browser.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found