css初始化的好东西
里面很多不同种类的初始化的方式,我自己选了 Yahoo 的初始化方式,自己做下记录,呵呵~~
- 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;
- }

如需转载请注明文章来源,本文链接: https://icojump.in/?p=95
发表您宝贵的评论