Sunday, March 9, 2014

SEO Friendly Webpage Printing

SEO Friendly Webpage Printing
Implement media print {....} at the very end of your CSS file for your webpage

Example:

 @media print {   
      /* Make your own style */  
      #header, #footer, #menu { display: none; }   
      body { font: 12pt tahoma,serif; }   
      h1 { font-size: 18pt; }   
      h2 { font-size: 16pt; color: #FFF; }  
 }  


Generate & use a print stylesheet
 <link rel="stylesheet" href="print.css" type="text/css" media="print" />  


this print.css is only whenever a user want to print your webpage information. But take the consideration to decrease the HTTP requests

0 comments:

Post a Comment