Skip to content

Commit b34382e

Browse files
committed
[css2] Fixed small errors. Still needs major revision to make it useful as a
default style sheet. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40948
1 parent cbb60bf commit b34382e

1 file changed

Lines changed: 22 additions & 8 deletions

File tree

css2/sample.src

Lines changed: 22 additions & 8 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: sample.src,v 2.7 1998-02-17 00:29:31 ijacobs Exp $ -->
3+
<!-- $Id: sample.src,v 2.8 1998-02-17 23:34:03 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix A: A sample style sheet for HTML 4.0</TITLE>
@@ -29,7 +29,7 @@ properties set to initial values and default display types */
2929

3030
A, ABBR, ACRONYM, ADDRESS, BDO, BLOCKQUOTE, BODY, BUTTON, CITE, CODE,
3131
DD, DEL, DFN, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6,
32-
IFRAME, IMG, INS, KBD, LABEL, LI, OBJECT, OL, P, Q,
32+
IFRAME, IMG, INS, KBD, LABEL, OBJECT, OL, P, Q,
3333
SAMP, SMALL, SPAN, STRONG, SUB, SUP, UL, VAR, APPLET, BASEFONT,
3434
B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
3535
background: transparent;
@@ -47,6 +47,20 @@ B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U {
4747
list-style-position: outside;
4848
}
4949

50+
/* Same as above, but don't set list-style */
51+
LI {
52+
background: transparent;
53+
width: auto;
54+
height: auto;
55+
text-decoration: none;
56+
margin: 0;
57+
padding: 0;
58+
border: 0;
59+
float: none;
60+
clear: none;
61+
vertical-align: baseline;
62+
}
63+
5064
ADDRESS, BLOCKQUOTE, BODY, DD, DIV, DL, DT, FIELDSET, FORM, FRAME, FRAMESET
5165
H1, H2, H3, H4, H5, H6, IFRAME, NOSCRIPT, NOFRAMES, OBJECT,
5266
OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE {
@@ -312,17 +326,17 @@ H4,H5,H6 { voice-family: paul; stress: 20; richness: 90; }
312326
LI,DT,DD { pitch: medium; richness: 60; }
313327
DT { stress: 80; }
314328

315-
PRE,KEY,CODE,TT { pitch: medium;
329+
PRE,CODE,TT { pitch: medium;
316330
pitch-range: 0;
317331
stress: 0;
318332
richness: 80;
319333
}
320-
EM { pitch: medium; pitch-range: 60 stress: 60; richness: 50; }
321-
STRONG { pitch: medium; pitch-range: 60 stress: 90; richness: 90; }
322-
DFN { pitch: high; pitch-range: 60 stress: 60; }
334+
EM { pitch: medium; pitch-range: 60; stress: 60; richness: 50; }
335+
STRONG { pitch: medium; pitch-range: 60; stress: 90; richness: 90; }
336+
DFN { pitch: high; pitch-range: 60; stress: 60; }
323337
S,STRIKE { richness: 0; }
324-
I { pitch: medium; pitch-range: 60 stress: 60; richness: 50; }
325-
B { pitch: medium; pitch-range: 60 stress: 90; richness: 90; }
338+
I { pitch: medium; pitch-range: 60; stress: 60; richness: 50; }
339+
B { pitch: medium; pitch-range: 60; stress: 90; richness: 90; }
326340
U { richness: 0; }
327341
A:link { voice-family: harry; }
328342
A:visited { voice-family: betty;}

0 commit comments

Comments
 (0)