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

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -