css reset file

html, body, div, span, object, blockquote, pre,
abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, fieldset, form, label, legend,
caption, tr, th, td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font-weight: normal;
vertical-align: baseline;
background: transparent;
}

p {
border: 0;
font-size: 100%;
font-weight: normal;
vertical-align: baseline;
background: transparent;
}
a {
margin: 0;
padding: 0;
font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
background: transparent;
}

body {
line-height: inherit;
}

body table {
margin: 0;
padding: 0;
font-size: 100%;
font-weight: normal;
vertical-align: baseline;
background: transparent;
}

/* remember to highlight insertions somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
body table {
border-collapse: collapse;
border-spacing: 0;
}

择自:http://programming4.us/mobile/1284.aspx

posted on 2011-05-12 22:50  还有什么  阅读(217)  评论(0)    收藏  举报

导航