Skip to content

Commit b85141e

Browse files
committed
[css2] Added class=figure
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401493
1 parent 6ffacb0 commit b85141e

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

css2/conform.src

Lines changed: 3 additions & 1 deletion
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: conform.src,v 2.37 1998-04-09 14:38:44 ijacobs Exp $ -->
3+
<!-- $Id: conform.src,v 2.38 1998-04-16 22:13:03 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -211,7 +211,9 @@ to another format, etc.</dd>
211211

212212
<P>This results in the following tree:</P>
213213

214+
<div class="figure">
214215
<P><IMG src="images/doctree.gif" alt="Sample document tree"></p>
216+
</div>
215217

216218
<P>According to the definition of HTML, HEAD elements will be inferred
217219
during parsing and become part of the document tree even if the HEAD

css2/intro.src

Lines changed: 5 additions & 1 deletion
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.25 1998-04-09 14:40:35 ijacobs Exp $ -->
3+
<!-- $Id: intro.src,v 2.26 1998-04-16 22:13:08 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Introduction to CSS2</TITLE>
@@ -231,7 +231,9 @@ a processing instruction:
231231

232232
<P>A visual user agent could format the above example as:
233233

234+
<div class="figure">
234235
<p><img src="images/bach1.gif" alt="Example rendering">
236+
</div>
235237

236238
<P>Notice that the word "flute" remains within the paragraph since it
237239
is the content of the inline element INSTRUMENT.
@@ -248,7 +250,9 @@ AUTHOR { font-style: italic }
248250
ARTICLE, HEADLINE, AUTHOR, PARA { margin: 0.5em }
249251
</PRE>
250252

253+
<div class="figure">
251254
<p><img src="images/bach2.gif" alt="Example rendering">
255+
</div>
252256

253257
<P>Adding more rules to the style sheet will allow you to further
254258
improve the presentation of the document.

css2/syndata.src

Lines changed: 5 additions & 1 deletion
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: syndata.src,v 2.51 1998-04-09 14:45:33 ijacobs Exp $ -->
3+
<!-- $Id: syndata.src,v 2.52 1998-04-16 22:15:26 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -678,18 +678,22 @@ first image, a reading distance of 71&nbsp;cm (28&nbsp;inch) results
678678
in a px of 0.28&nbsp;mm, while a reading distance of 3.5&nbsp;m
679679
(12&nbsp;feet) requires a px of 1.4&nbsp;mm. </p>
680680

681+
<div class="figure">
681682
<p><img src="images/pixel1.gif" alt="Showing that pixels must become
682683
larger if the viewing distance increases"> </p>
684+
</div>
683685

684686
<P>In the second image, an
685687
area of 1px by 1px is covered by a single dot in a low-resolution
686688
device (a computer screen), while the same area is covered by 16 dots
687689
in a higher resolution device (such as a 400&nbsp;dpi laser printer).</p>
688690

691+
<div class="figure">
689692
<P><img
690693
src="images/pixel2.gif" alt="Showing that more device pixels (dots)
691694
are needed to cover a 1px by 1px area on a high-resolution device than
692695
on a low-res one"></p>
696+
</div>
693697

694698
<P>Child elements do not inherit the relative values specified for
695699
their parent; they (generally) inherit the <a

0 commit comments

Comments
 (0)