Sunday, November 27, 2005

CSS to print webpage different from rendering

<link rel="stylesheet" 
media
="print"
type
="text/css"
href
="http://img.thisismoney.co.uk/style/print.css" />

Using that line for a special print-only .css file, you can control how the page will print. Then, users don't have to click a "Print this page" link. Check it out...

Look at
http://www.thisismoney.co.uk/news/article.html?in_article_id=404961&in_page_id=2
and then click file->print preview

No comments: