我发现这个reset.css文件在一个jquery图像滑块演示,但它从来没有包括在主index.html文件。什么是假设要做,更重要的是,你在哪里放?你把它放在任何引用的样式表()之前?
这里是reset.css里面的代码
- /* 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 {
- margin:0;
- padding:0;
- }
- html,body {
- margin:0;
- padding:0;
- }
- table {
- border-collapse:collapse;
- border-spacing:0;
- }
- fieldset,img {
- border:0;
- }
- input{
- border:1px solid #b0b0b0;
- padding:3px 5px 4px;
- color:#979797;
- width:190px;
- }
- address,caption,cite,code,dfn,var {
- font-style:normal;
- font-weight:normal;
- }
- ol,ul {
- list-style:none;
- }
- caption,th {
- text-align:left;
- }
- h1,h6 {
- font-size:100%;
- font-weight:normal;
- }
- q:before,q:after {
- content:'';
- }
- abbr,acronym { border:0;
- }