css - Print function not working properly in firefox -


in webpage added print option. works perfect in google chrome not in firefox , ie.

css(only printing):

@media print   {   .printable{   display: inline;   }    .not-printable {   display: none;   }   } 

print function:

$(document).ready(function(){ $('#print').click(function(){ window.print(); }); }); 


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -