Forums

This topic is locked

JavaScript to load external CSS as per screen res

Posted 11 Apr 2004 12:02:40
1
has voted
11 Apr 2004 12:02:40 gordon knapp posted:
I am trying find out how to load an external CSS file depending on a users screen resolution. i.e.
screen width<= 800 then load style1.css
screen width>800 then load style2.css

Any thoughts greatly appreciated.

Reply to this topic