Home  >  Article  >  Web Front-end  >  css预重置样式代码_html/css_WEB-ITnose

css预重置样式代码_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:30:441109browse

css预重置样式代码:
预重置css样式代码几乎在每一个稍有经验编写的css文件中都有应用,这足以说明它的有点,关于它到底有哪些好处这里就不多介绍了,大家可以自行查阅,下面直接分享此代码。
代码如下:

 

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

 

原文地址是:http://www.softwhy.com/forum.php?mod=viewthread&tid=11767

更多内容可以参阅:http://www.softwhy.com/divcss/

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn