Chapter 3. Adapting Pages for Mobile with Media Queries

Image

The great source of pleasure is variety. Uniformity must tire at last, though it be uniformity of excellence.

—Samuel Johnson

Adapting Pages for Mobile with Media Queries

The need for dedicated style sheets for mobile devices was recognized as far back as 1997, when the HTML and CSS specifications included handheld among the permitted values for the media attribute. However, the specifications describe handheld devices as “small screen, monochrome, [and] limited bandwidth.” Apart from screen size, modern smartphones and tablets frequently have capabilities that rival and even surpass desktops. ...

Get Adobe Dreamweaver CS5.5 Studio Techniques: Designing and Developing for Mobile with jQuery, HTML5, and CSS3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.