Skip to content

Commit 30c2613

Browse files
committed
[css2] Minor editorial changes, removed commented text
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401480
1 parent 4b0460d commit 30c2613

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

css2/intro.src

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: intro.src,v 2.24 1998-04-06 23:40:46 ijacobs Exp $ -->
3+
<!-- $Id: intro.src,v 2.25 1998-04-09 14:40:35 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Introduction to CSS2</TITLE>
@@ -90,9 +90,7 @@ element:</p>
9090

9191
<ul>
9292
<li> the type of link: to a "stylesheet".
93-
<li> the location of the style sheet via the href attribute. <!--Here, the file
94-
<samp>bach.css</samp> is in the same directory as the source HTML
95-
document. -->
93+
<li> the location of the style sheet via the "ref" attribute.
9694
<li>the type of style sheet being linked: "text/css".
9795
</ul>
9896

@@ -126,8 +124,9 @@ but the second rule overrides the inherited value. In CSS there are
126124
often such conflicts between different values, and this specification
127125
describes how to resolve them.
128126

129-
<P>CSS2 has more than 100 different properties and 'color' is one of
130-
them. Let's look at some of the others:
127+
<P>CSS2 has more than 100 different properties, including <span
128+
class="propinst-color">'color'</span>. Let's look at some of the
129+
others:
131130

132131
<PRE class="example">
133132
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"&gt;
@@ -154,12 +153,12 @@ within a block enclosed by curly braces ({...}), and separated by
154153
semicolons, though the last declaration may also be followed by a
155154
semicolon.
156155

157-
<P>The first declaration on the BODY element sets
158-
the font family to "Gill Sans". If that font isn't available, the
159-
user agent (often referred to as a "browser") will use the
160-
'sans-serif' font family which is one of five generic font families
161-
which all users agents know. Child elements of BODY will inherit the
162-
value of the 'font-family' property.
156+
<P>The first declaration on the BODY element sets the font family to
157+
"Gill Sans". If that font isn't available, the user agent (often
158+
referred to as a "browser") will use the 'sans-serif' font family
159+
which is one of five generic font families which all users agents
160+
know. Child elements of BODY will inherit the value of the <span
161+
class="propinst-font-family">'font-family'</span> property.
163162

164163
<P>The second declaration sets the font size of the BODY element to
165164
12 points. The "point" unit is commonly used in print-based typography
@@ -265,8 +264,7 @@ by going through the following steps:</P>
265264

266265
<ol>
267266
<li>Parse the source document and create a <a
268-
href="conform.html#doctree">document tree</a> from the source
269-
document.</li>
267+
href="conform.html#doctree">document tree</a>.</li>
270268

271269
<li>Identify the target <a href="media.html">media type</a>.
272270

@@ -352,7 +350,8 @@ in audio space, but not in time.
352350
<h3>CSS2 addressing model</h3>
353351

354352
<P> CSS2 <a href="selector.html">selectors</a> and properties allow
355-
style sheets to refer to the following characteristics of a document:</p>
353+
style sheets to refer to the following parts of a document
354+
or user agent:</p>
356355

357356
<ul>
358357
<li>Elements in the document tree and certain relationships between
@@ -445,7 +444,7 @@ attributes for the elements forming the document body.</P>
445444
<P><STRONG>Richness</STRONG>. Providing authors with a rich set of
446445
rendering effects increases the richness of the Web as a medium of
447446
expression. Designers have been longing for functionality commonly
448-
found e.g., in desktop publishing and slide-show applications. Some of
447+
found in desktop publishing and slide-show applications. Some of
449448
the requested rendering effects conflict with device independence, but
450449
CSS2 goes a long way toward granting designers their requests.</P>
451450
</LI>

0 commit comments

Comments
 (0)