@CHARSET "UTF-8";
/**
reset css Powered by: YUI
2013-08-01
author: cenguocheng
**/
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;
}reset css 重置css YUI
最新推荐文章于 2019-10-13 16:22:56 发布
本文介绍了一款由YUI提供的CSS样式重置代码,该代码旨在消除浏览器默认样式带来的差异,确保网页元素在不同浏览器中表现一致。通过将所有元素的填充(padding)和边距(margin)设置为0,并调整了表格、字段集等元素的默认样式。
804

被折叠的 条评论
为什么被折叠?



