0

HTML

 <div id="printcontent">
    //some data: mostly images
        </div>

I want to print the above div using Media Queries.

Please note that the above div is set to: Display:none; in css;

Here is the Demo:http://jsfiddle.net/Ryh3G/

The print dialog is not appearing. It should work in all browsers. Thanks for your help.

Johnny
  • 107
  • 7

1 Answers1

0

It works good.choose 'No wrap - in <head>' in right sidebar @fiddle

function functionPrint()
{    
 window.print();   
}

DEMO

Sridhar R
  • 20,190
  • 6
  • 38
  • 35