screenshot div into new window and print
I have a div, with checkboxes in, which I want to be able to print.
I can open the div, and print, with the following code:
However, all the checkboxes are blank, no matter how many are ticked in the div before pressing the 'print' button I set up.
var prtContent = document.getElementById("main");
var WinPrint = window.open('', '', 'letf=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0');
Also, since this is unstyled, and I have custom checkboxes, how would I go about getting the images to print (if I put the css in, they display on the new window, but if I print the page they are missing?)
Thanks in advance,