版权声明:未经同意不得转载 https://blog.csdn.net/qq_42707446/article/details/82107414
一:校园官网样式预设
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small,strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;}
img { border:0;}
body {line-height: 1;}
ol, ul {list-style: none;}
table { border-collapse: collapse; border-spacing: 0;}
二:模板样式预设
@charset "utf-8";
body,
p,
pre,
span,
a,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
ol,
ul,
li,
div,
dl,
dt,
dd,
table,
tbody,
tr,
th,
td,
form,
fieldset,
button,
input,
select,
textarea {
margin: 0;
padding: 0;
}
body,
p {
font: 12px/1 "Microsoft YaHei", \5b8b\4f53, Tahoma, Arial, sans-serif;
color: #333;
}
img {
border: none;
}
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
}
ol,
ul,li {
list-style: none;
}
a {
text-decoration: none;
}