/ Published in: CSS
                    
                                        
the eric meyer "reset" css code
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
html, body, div, span, applet, object, iframe,
02
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
03
a, abbr, acronym, address, big, cite, code,
04
del, dfn, em, font, img, ins, kbd, q, s, samp,
05
small, strike, strong, sub, sup, tt, var,
06
b, u, i, center,
07
dl, dt, dd, ol, ul, li,
08
fieldset, form, label, legend,
09
table, caption, tbody, tfoot, thead, tr, th, td {
10
margin: 0;
11
padding: 0;
12
border: 0;
13
outline: 0;
14
font-size: 100%;
15
vertical-align: baseline;
16
background: transparent;
17
}
18
19
body {
20
line-height: 1;
21
}
22
23
ol, ul {
24
list-style: none;
25
}
26
27
blockquote, q {
28
quotes: none;
29
}
30
31
blockquote:before, blockquote:after,
32
q:before, q:after {
33
content: '';
34
content: none;
35
}
36
37
/* remember to define focus styles! */
38
:focus {
39
outline: 0;
40
}
41
42
/* remember to highlight inserts somehow! */
43
ins {
44
text-decoration: none;
45
}
46
47
del {
48
text-decoration: line-through;
49
}
50
51
/* tables still need 'cellspacing="0"' in the markup */
52
table {
53
border-collapse: collapse;
54
border-spacing: 0;
55
}
URL: http://www.djavupixel.com/development/css-development/master-css3-ultimate-css-code-snippets/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                