Skip to content

Commit 878f890

Browse files
committed
[css2] Håkon's edits.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402121
1 parent ea41c28 commit 878f890

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

css2/sample.src

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: sample.src,v 2.31 2003-08-04 13:29:20 bbos Exp $ -->
3+
<!-- $Id: sample.src,v 2.32 2003-08-18 14:52:29 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>A sample style sheet for HTML 4.0</TITLE>
77
<!-- Changed by: Ian B. Jacobs, 28-Sep-1998 -->
88
</HEAD>
99
<BODY>
10-
<H1>A sample style sheet for HTML 4.0</H1>
10+
<H1>Default style sheets: Sample for HTML 4.0</H1>
1111
<P><em>This appendix is informative, not normative.</em></P>
1212

1313
<P>This style sheet describes the typical formatting of all HTML 4.0
@@ -50,7 +50,7 @@ td, th { display: table-cell; }
5050
caption { display: table-caption }
5151
th { font-weight: bolder; text-align: center }
5252
caption { text-align: center }
53-
body { padding: 8px; line-height: 1.12em }
53+
body { margin: 8px; line-height: 1.12 }
5454
h1 { font-size: 2em; margin: .67em 0 }
5555
h2 { font-size: 1.5em; margin: .75em 0 }
5656
h3 { font-size: 1.17em; margin: .83em 0 }
@@ -77,7 +77,7 @@ big { font-size: 1.17em }
7777
small, sub, sup { font-size: .83em }
7878
sub { vertical-align: sub }
7979
sup { vertical-align: super }
80-
td, th { vertical-align: middle }
80+
td, th { vertical-align: inherit }
8181
s, strike, del { text-decoration: line-through }
8282
hr { border: 1px inset }
8383
ol, ul, dir,
@@ -87,6 +87,7 @@ ol ul, ul ol,
8787
ul ul, ol ol { margin-top: 0; margin-bottom: 0 }
8888
u, ins { text-decoration: underline }
8989
br:before { content: "\A" }
90+
:before, :after { white-space: pre-line }
9091
center { text-align: center }
9192
abbr, acronym { font-variant: small-caps; letter-spacing: 0.1em }
9293
:link, :visited { text-decoration: underline }

0 commit comments

Comments
 (0)