Prev | Current Page 49 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

43).
In XHTML, the content type is #PCDATA, which means that character references
are parsed, but only if the document??™s served as XML.
?–  Unlike in style elements, character references are parsed in style attributes,
even in HTML.
Media Queries
Media queries is a CSS3 extension to media types that allows us far greater control
over rendering across different devices than do media types alone. Used in
conjunction with a media type, a media query is a logical expression, evaluating to
true or false, that tests one or more features of the output device to which the CSS
is to be applied. Media queries can be used in tags, XML processing
instructions, the @import at-rule, and the @media at-rule. The CSS associated with
the media query expression is only applied if the expression evaluates to true.
A logical expression can consist of either a media feature, or a media feature followed
by a colon (:) and a value??”similar to a normal property/value pair. A logical
expression in a media query must be enclosed in parentheses (??¦).


Pages:
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61