rashmi_k28 Posted May 14, 2008 Share Posted May 14, 2008 Hi, I have to print a page so I have used print image and javascript. When I click on the image and print button, Half page font size increases please tell me why it happens. <style type="text/css"> <!-- .no_print { margin: 0px; padding: 0px; } /* following only applies to printing */ @media print { body { margin: 0 auto; padding: 0; } .no_print { display: none; } } echo "<div class=\"no_print\">"; echo "<br><br><A href=\"javascript:print()\"><b><img src=\"printer-icon.gif\" align=\"right\" border=\"0\" title=\"PRINT THS PAGE!\"></img></b></A>"; echo "</div>"; Quote Link to comment https://forums.phpfreaks.com/topic/105566-font-increases/ Share on other sites More sharing options...
MadTechie Posted May 14, 2008 Share Posted May 14, 2008 Wrong Section, please post in the CSS/HTML section Quote Link to comment https://forums.phpfreaks.com/topic/105566-font-increases/#findComment-540770 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.