I am trying to print a div in my rails app to a printer. I am following instructions here: Print the contents of a DIV but I can not get the css file to work
mywindow.document.write('<link rel="stylesheet" href="/assets/stylesheets/mystyle.css.scss" type="text/css" />');
The page is being printed without the CSS. What am I doing wrong?