11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: media.src,v 2.16 1998-04-06 23:42:55 ijacobs Exp $ -->
3+ <!-- $Id: media.src,v 2.17 1998-04-09 14:41:57 ijacobs Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Media types</TITLE>
1818
1919<P>Certain CSS properties are only designed for certain media (e.g.,
2020the <span class="propinst-cue-before">'cue-before'</span> property for
21- aural style sheets ). On occasion, however, style sheets for different
21+ aural user agents ). On occasion, however, style sheets for different
2222media types may share a property, but require different values for
2323that property. For example, the <span
2424class="propinst-font-size">'font-size'</span> property is useful both
2525for screen and print media. However, the two media are different
2626enough to require different values for the common property; a document
2727will typically need a larger font on a computer screen than on paper.
28- Experience also shows that sans serif fonts are easier to read on
28+ Experience also shows that sans- serif fonts are easier to read on
2929screen, while fonts with serifs are easier to read on paper. For
3030these reasons, it is necessary to express that a style sheet -- or a
3131section of a style sheet -- applies to certain media types.
@@ -77,13 +77,11 @@ the <a href="cascade.html">chapter on the cascade</a>.
7777
7878<H3><a name="at-media-rule">The @media rule</a></H3>
7979
80- <P>An <span class="index-def" title="media">@media</span> rule lists
81- the <a href="#media-types">media types</a> (separated by commas)
82- affected by a set of rules delimited by curly braces.
83-
84- <p>The <span class="index-inst" title="@media">@media</span> construct
85- allows style sheet rules for various media in the same style
86- sheet:</P>
80+ <P>An <span class="index-def" title="media">@media</span> rule
81+ specifies the target <a href="#media-types">media types</a> (separated
82+ by commas) of a set of rules (delimited by curly braces). The <span
83+ class="index-inst" title="@media">@media</span> construct allows style
84+ sheet rules for various media in the same style sheet:</P>
8785
8886<pre class="example">
8987 @media print {
@@ -106,13 +104,9 @@ claims to support a media type by name must implement all of the
106104properties that apply to that media type.
107105
108106<P>The names chosen for CSS media types reflect target devices for
109- which the relevant properties make sense. In the list of CSS media
110- types, the parenthetical descriptions are not normative. They only
111- give a sense of what device the media type is meant to refer to.
112-
113- <p>Due to rapidly changing technologies, CSS2 does not specify a
114- definitive list of media types that may be values for <span
115- class="index-inst" title="@media">@media</span>.
107+ which the relevant properties make sense. In the following list of CSS
108+ media types, the parenthetical descriptions are not normative. They
109+ only give a sense of what device the media type is meant to refer to.
116110
117111<dl>
118112<dt><strong>all</strong>
@@ -161,7 +155,12 @@ type.
161155resolution, color, limited-scrollability screens, sound available).
162156</dl>
163157
164- <P>Media type names are case-insensitive.
158+ <P>Media type names are case-insensitive.
159+
160+ <P>Due to rapidly changing technologies, CSS2 does not specify a
161+ definitive list of media types that may be values for <span
162+ class="index-inst" title="@media">@media</span>.
163+
165164
166165<div class="note"><P>
167166<em><strong>Note.</strong>
@@ -177,10 +176,10 @@ by a CSS specification.
177176the property must be implemented by a <a
178177href="conform.html#conformance">conforming user agent</a>. Since
179178properties generally apply to several media, the "Applies to media"
180- section of each property definition indicates a <span
181- class="index-def" title="media group">media group </span> rather than a
182- list of media types. A property applies to all media types that belong
183- to a given media group .
179+ section of each property definition lists <span class="index-def"
180+ title="media group">media groups </span> rather than individual media
181+ types. Each property applies to all media types in the media groups
182+ listed in its definition .
184183
185184<P>CSS2 defines the following media groups: </P>
186185<ul>
0 commit comments