I am setting up some css for @media print and I had to make use of IE conditionals to get it cross-browser compatible. Looking here and elsewhere, it seems there's no IE conditionals that detect IE 8 compatibility mode. The only way to do so is make use of meta tags or JavaScript, correct?
I know how to detect compatibility mode in JavaScript. My question is how do I write one particular line of css for @media print using JavaScript. If i have to, I'll settle for linking to a separate stylesheet. But I managed to get my current print media stylesheet cross-browser compatible, with the notable exception of ie 8 compatibility mode. If I can just add what I need in JavaScript, instead of creating a separate stylesheet for IE 8 compatibility mode, that would be great. Either way, I would like to know how I can add @media print css for IE 8 compatibility mode using Javascript?
Thank you!