常见的网站reset css(w3cfuns上的学习笔记)

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
        margin:0; padding:0;
}
body, button, input, select, textarea {
        font:12px/1.5 ilsscrp, tahoma, arial, 5b8b4f53, sans-serif;
}
button, input, select, textarea {
        font-size:100%;
}
h1, h2, h3, h4, h5, h6 {
        font-size:100%; 
}
a, button, input[type="button"], input[type="submit"], select {
        cursor:pointer;
}
ul, ol {
        list-style:none;
}
a {
        text-decoration:none;
}
a:hover {
        text-decoration:underline;
}
img {
        -ms-interpolation-mode:bicubic;
}
table {
        table-layout:fixed; border-collapse:collapse; border-spacing:0;
}
address, cite, dfn, i, em, var {
        font-style:normal; 
}
code, kbd, pre, samp {
        font-family:courier new, courier, monospace;
}
sup {
        vertical-align:text-top;
}
sub {
        vertical-align:text-bottom;
}
small {
        font-size:12px;
}
fieldset, img {
        border:0;
}
legend {
        color:#000;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
        display:block; margin:0; padding:0;
}

  

原文地址:https://www.cnblogs.com/jisi2012/p/4959043.html