just like that

  • Home
  • Make Money
    • Your Click
    • Others Click
    • Other Programs
  • Technical Support
    • Windows
    • Android
    • Other
      • how to do
  • online Is On
    • Online Media
      • Online Fm Radio
      • Online Tv
      • Online Games
    • Funny Videos
    • Downlaod Mp3 And MP4 Songs
    • Most Important Videos On Youtube
    • How To Make
  • Tourist Place
  • Health
    • Food Medicine
    • Workout
  • Image Collection

Saturday, 19 November 2011

Create Printer Friendly Blog Pages with Simple CSS

 22:31     No comments   



eco printer friendly blog
Jay White of DumbLittleMan.com writes - "Have you found a good way to allow readers to print individual post content without all of the sidebars, ads and headings messing up the print format?"
Extra stuff like logos, forms, navigation links, advertising, blogrolls, flash widgets, etc may look good when your blog page is viewed inside the web browser but these elements are almost useless for people who want to print out web pages on paper.
How to Create Printer Friendly Web Pages with a Print Style Sheet
With little effort, you can turn your blog into a printer friendly and environment friendly website (since readers will consume less ink and paper when printing your articles).
Step 1: Create a new CSS File (print.css) and add the following lines:
body {font-family: arial,helvetica,sans; font-size: 13px; background:fff; color:000;}
// Black Text on White Background
a,a:visited,a:link {color:#000; text-decoration:none} 
// Do no underline links
.noprint {display:none} // This will do the magic
Step 2: Open the HTML source of your main blog template and enclose everything other than the content (like the sidebars, ad blocks, header logo, footers, etc) inside the following <span> tag
<span class="noprint"> ..... </span>
You are instructing the browser not to print anything that appears inside the above tag.
Step 3: Add the following line inside the <HEAD> tag of your blog template
<link rel="stylesheet" media="handheld,print" href="print.css" />
That's it. To see how this works, click here and go to File->Print Preview.
This technique is not just effective for printed version of your web pages but even for PDFs - if someone prints your blog as a PDF document, they'll see a clean version of the article without the extra bells-n-whistles. See - "Print to PDF Button for Blogs"
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 comments:

Post a Comment

Video Game Godfather - Work From Home Selling Video Games Online

Click Here!

Appszero - Build Mobile Apps With Zero Coding

Click Here!

Translate

I Got Total Views

Popular Posts

  • 10 Different Url Shorteners That Give You Addon Benefits
    There was a point of time when no one ever considered the fact that there ever might arise a need for a URL shortener. In recent times, howe...
  • Create Short URLs with the Goo.gl Bookmarklet
    If you are looking for a way to create your own short URLs with goo.gl but without installing the Google Toolbar, here's a quick bookma...
  • how to avoid ads in youtube
    IT'S just simple right click select pop out thats all  
  • Live Flight Tracking on Google Maps
    Casper is a brilliant mashup that displays movement of incoming and outgoing flights on a Google Map  live . The airplanes are colored based...
  • Things You Should Do After Installing WordPress
    The WordPress tips and hacks mentioned below apply to a self-hosted installation of WordPress. You may skip if your WordPress blog is hosted...
  • Twitter Tip: Add a ‘Tweet This’ Link to your Blog on WordPress or Blogger
    Twitter can be a great source of traffic for your blog. To give you an example, my article on bookmarklets was on the delicious popular sect...
  • How to Set Up iCloud For Your iOS Devices
    Apple has introduced iCloud and Wi-Fi connectivity for Mac and other mobile devices . This is the most unique feature of  iOS 5 for iPad, iP...
  • earnparttimejobs
    earnparttimejobs:-                            Indians Earn Rs.50000/month via part time jobs. Easy form filling data entry jobs Earn Rs.25,0...
  • How 2G Works
    How 2G Technology Works Advancement in mobile phones technology has been marked by generation (G). Analog phones are related to the 1st gen...
  • Add Google Autocomplete to other Search Engines
    When you type a few characters in the search box of your favorite web browser - be it Firefox, Internet Explorer or the Omnibox of Google ...

Recent Posts

Categories

  • 12b
  • 180
  • 365 Kadhal Kadithangal
  • 3g
  • 4 Students
  • 7am arivu video songs
  • affiliate
  • Airtel Free Live Tv
  • Audio CD/DVD Burning
  • blog tricks
  • blogging
  • browser
  • Dish tv
  • download manger
  • download soft
  • earn sites
  • facebook
  • Favicon to Blogger
  • free call
  • free sms
  • games
  • Gemini Comedy
  • google
  • gprs
  • health
  • hindi
  • How do I create a blog
  • internet
  • iPhone
  • java
  • Kavithai
  • LG
  • live mobile tv
  • live tv
  • mobile
  • mobile tv
  • motorola
  • movies
  • mp3 player
  • Nadanthathu Enna
  • Noika
  • old movies
  • online fm
  • online movie
  • online movies
  • online tv
  • Photoshop
  • samsung
  • Serials
  • software
  • sony ericsson
  • sql
  • Surya Hits
  • tamil
  • tamil movies
  • tamil video songs
  • tamilmobiletv
  • tech
  • telugu
  • top 10
  • TV SHOWS‎
  • video converter
  • Video Players
  • video songs
  • windows software
  • youtube

Blog Archive

  • August (36)
  • September (39)
  • November (715)
  • December (627)

About Me

My photo
punniyaseelan
View my complete profile
Powered by Blogger.

Sample Text

Copyright © just like that | Powered by Blogger
Design by punniya seelan | Blogger Theme by New Blogger Themes | Distributed By Templates