@media print not working on google

300 Views Asked by At

I am trying to find out why @media print is not working on Chrome. It's fine with IE and FF.

I am working on print page for a coupon, but Chrome is printing a blank page.

1

There are 1 best solutions below

0
On

Are you using a separeted css?

Try embedding the css inside the page to see if the problem persist.

The example bellow seems to work in the same page:

<style type="text/css">
    @media print{
    .button {display : none} 
    }
 </style>