分类
随意说

一些大站的css reset(存档)

雅虎的reset

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
padding: 0;
margin: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset,img {
border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-weight: normal;
font-style: normal;
}
ol,ul {
list-style: none;
}
caption,th {
text-align: left;
}
h1,h2,h3,h4,h5,h6 {
font-weight: normal;
font-size: 100%;
}
q:before,q:after {
content:”;
}
abbr,acronym { border: 0;
}

cssrain的reset

@charset "utf-8";
/* CSS Reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea, p, blockquote, th, td {
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
 }
a{
 hide-focus: expression(this.hideFocus=true);  /* for ie 5+ */
 outline: none;  /* for firefox 1.5 + */
}/*去除点击虚线框*/
fieldset, img {
 border: 0;
 }    

ol, ul {
 list-style: none;
 }
address, caption, cite, code, dfn, em, strong, th, var {
 font-weight: normal;
 font-style: normal;
 }
caption, th {
 text-align: left;
 }
h1, h2, h3, h4, h5, h6 {
 font-weight: normal;
 font-size: 100%;
 }
q:before, q:after {
 content: '';
 }
abbr, acronym {
 border: 0;
 }

由柱子

我爱大理好风光

“一些大站的css reset(存档)”上的1条回复

评论已关闭。