Chris Coyier wrote an article about how to use different style-sheets for differently sized browser windows without java-script. There is a W3C standard way of declaring them. One way is to test the device width with css and another way is with jQuery. The only one problem is using the css technique is IE doesn’t support this.
Different Stylesheets for Differently Sized Browser Windows without Javascript

2 Comments
Add YoursRSS feed for comments on this post. TrackBack URL

















Tweets that mention Different Stylesheets for Differently Sized Browser Windows without Javascript | bijusubhash.com -- Topsy.com May 6, 2010 @ 4:57 pm
[...] This post was mentioned on Twitter by bijusubhash. bijusubhash said: Different Stylesheets for Differently Sized Browser Windows without #Javascript: Chris Coyier… http://goo.gl/fb/nrvBZ [...]
WPExplorer May 12, 2010 @ 1:36 am
wow this is really cool. I will definitely be using this tutorial in a future project. thanks for sharing.
I have always done it with Javascript but achieving it with CSS seems like a much better alternative.