I'm setting some css rules dynamicall开发者_如何学Goy in IE8 using the addRule() method. I'm finding that when I print, these rules are getting ignored - whether I'm adding the rules to a print specific stylesheet or not.
Anyone know a way around this?
It looks like this is only the case for external style sheets - workaround is to use an inline <style> element instead.
精彩评论