相关疑难解决方法(0)

CSS重置 - 它到底是做什么的?

我在jquery图像滑块演示中找到了这个reset.css文件,但它从未包含在主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,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;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border:0;
}
Run Code Online (Sandbox Code Playgroud)

css

53
推荐指数
5
解决办法
6万
查看次数

标签 统计

css ×1