I'm having a problem using iframes, I'm not actually setting a source for the iframe I insert the html I want using jQuery instead which worked fine with me but my actual problem is that I don't know how to include a style sheet to the iframe.
Check the code below:
<button id="print1" onclick=" $('#frame1').contents().find('body').html($('#div1').html() + $('#tabs-4').html() + $('#tabs-5').html()+ $('#tabs-6').html() ); window.frames['frame1'].print();">Print full report</button>
<iframe id="frame1" style="visibility:hidden;" height=1px></iframe>
include a style sheet to the iframe<link>tag referring to a CSS file