<style></style> since 2000
Last post I talked about ASP.NET Themes -- all CSS files in the theme folder will be loaded, no matter what. This makes having a matching print stylesheet a little difficult since you can't specify media types for you theme stylesheets.
Enter the @media tag. In your print.css stylesheet, you can use this tag to specify your media type in the stylsheet instead of in the <link> tag as you normally would.
@media Print
{
body,a {color:#000;}
}
And as an added bonus: this even works in IE 6. Who would have thought?
Howdy. I'm Richard W. Baker - a designer based in Jacksonville, Florida with a passion for information architecture and usable interfaces. At my day job, I work for the City of Jacksonville as a User Interface Designer.
If you still have questions, or you're interested in hiring me for your next project, .
coming soon
coming soon