- A simpler CSS reset by Russ Weakley <http://www.maxdesign.com.au/arti...>
Simple CSS reset
1 /* ----------------------------
2 simple reset
3 ---------------------------- */
4
5 html, body, ul, ol, li, form, fieldset, legend
6 {
7 margin: 0;
8 padding: 0;
9 }
10
11 h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
12
13 fieldset,img { border: 0; }
14
15 legend { color: #000; }
16
17 li { list-style: none; }
18
19 sup { vertical-align: text-top; }
20
21 sub { vertical-align: text-bottom; }
22
23 table
24 {
25 border-collapse: collapse;
26 border-spacing: 0;
27 }
28
29 caption, th, td
30 {
31 text-align: left;
32 vertical-align: top;
33 font-weight: normal;
34 }
35
36 input, textarea, select
37 {
38 font-size: 110%;
39 line-height: 1.1;
40 }
41
42 abbr, acronym
43 {
44 border-bottom: .1em dotted;
45 cursor: help;
46 }
Discussion
Comments
-
grindking 2012-10-31
I'd rather recommend this one:
http://necolas.github.com/normalize.css/
Sign in to leave a comment.

