2010年4月23日 星期五

Different Stylesheets for Differently Sized Browser Windows

Otherwise known as “resolution dependent layouts”. Single website, different CSS files for rearranging a website to take advantage of the size available.There is a W3C standard way of declaring them. One way is to test the “device-width”, like this: <link rel="stylesheet" media="screen and (min-device-width: 800px)" href="800.css" /> The above code will apply the 800.css styling to [...] http://tinyurl.com/36xvvts