News for hackers. Stuff that matters.
Re:Adapt.js - CSS3 media queries alternative by necolas on Saturday April 16, 2011 @06:38AM (#2453706)
While I think it's great that people are exploring many different solutions in this area, it's worth noting a drawback of the adapt.js approach. You're left dependent on JavaScript to do something that can be done with CSS in modern browsers and you are forced to create multiple stylesheets.
Re:Adapt.js - CSS3 media queries alternative by jggube on Saturday April 16, 2011 @08:38AM (#2453835)
You're still forced to create multiple stylesheets if you use CSS media queries. Although browsers that benefit most from media queries (e.g, Safari in iPhone) do support media queries.

What this covers, though, are small-monitor users (e.g. netbooks) who use browsers without CSS media query support (say, a netbook user using IE8).

Re:Adapt.js - CSS3 media queries alternative by Pewpewarrows on Saturday April 16, 2011 @11:50AM (#2454157)
Absolutely and completely wrong. You just make an "@media screen and (max-device-width: #px) {}" declaration in your regular CSS file.
Re:Adapt.js - CSS3 media queries alternative by DjDarkman on Saturday April 16, 2011 @11:20AM (#2454089)
Re:Adapt.js - CSS3 media queries alternative by jalada on Saturday April 16, 2011 @09:30AM (#2453919)
Zooming on the iPad completely screws this up.
Re:Adapt.js - CSS3 media queries alternative by atacrawl on Saturday April 16, 2011 @12:02PM (#2454188)
Not if you disable zooming in the <head> of your page, which you should be doing anyway if you're using media queries (or separate stylesheets) to target mobile devices.
Re:Adapt.js - CSS3 media queries alternative by ebiester on Saturday April 16, 2011 @12:25PM (#2454233)
...and make everyone who wants to look closer at something pissed off.
Re:Adapt.js - CSS3 media queries alternative by kawohi on Saturday April 16, 2011 @09:57AM (#2453958)
@_____@ Why use this when you can use CSS?