Media Queries

Håkon Wium Lie, Tantek Çelik, Daniel Glazman, Anne van Kesteren

Håkon Wium Lie, Tantek Çelik, Daniel Glazman, Anne van Kesteren, Media Queries, World Wide Web Consortium, Candidate Recommendation CR-css3-mediaqueries-20100727, July 2010.

HTML4 and CSS2 currently support media-dependent style sheets tailored for different media types. For example, a document may use sans-serif fonts when displayed on a screen and serif fonts when printed. 'screen' and 'print' are two media types that have been defined. Media queries extend the functionality of media types by allowing more precise labeling of style sheets. A media query consists of a media type and zero or more expressions that check for the conditions of particular media features. Among the media features that can be used in media queries are 'width', 'height', and 'color'. By using media queries, presentations can be tailored to a specific range of output devices without changing the content itself.


Keywords: CSS (Cascading Style Sheets)0.9;


Bibliography Navigation: Reference List; Author Index; Title Index; Keyword Index

Generated by sharef2html on 2011-04-15, 02:00:41.