Page is a not externally linkable
dillonstars - 5:51 pm on Sep 25, 2007 (gmt 0)
works well. It goes after the proper stylesheets in the head. The smallscreen.css just has a few styles defined that overwrite the main ones, and I have a <noscript> section that also loads smallscreen.css, for those without javascript. I'd be keen to hear if anyone knows how to do it better though.
As I say I'm a javascript noob, so it took me a while but it was very easy in the end.. i found that: if (screen.width < 800)
document.write('<'+'link rel="stylesheet" href="http://www.domainname.com/css/smallscreen.css" />');