I've got a web page that I know is being viewed in various browsers, with mobile devices, etc. I just want to add a printable view.
The current stylesheet link looks like this:
<link rel="stylesheet" type="text/css" href="somefile.css" media="all" />
What I want is to do the equivilent of "if print, use this new stylesheet; else use the original one."
To do that, can I simply add a print stylesheet, like this?
<link rel="stylesheet" type="text/css" href="somefile.css" media="print" />
In other words, does it make sense to have both "all" to catch any device type I may not be thinking of, and "print" for that specific media?