Different Stylesheets for Differently Sized Browser Windows without Javascript

Biju Subhash   May 5   CSS, Javascript   Read 1937 times   2 comments

Different Stylesheets for Differently Sized Browser Windows without Javascript

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.

website url

 

2 Comments

Add Yours
  1. 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 [...]

  2. 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.

RSS feed for comments on this post. TrackBack URL

Leave a comment

bijusubhash.com uses Thank Me Later

Security Code: