body{
margin-top:0px;
overflow:auto;
background-color: hsl(0, 17%, 93%);
min-width: 100%;
}
是该加在别的标签里面吗?
body{
margin-top:0px;
overflow:auto;
background-color: hsl(0, 17%, 93%);
min-width: 100%;
}
是该加在别的标签里面吗?
min-width给body加100%,没什么用的,你加个固定的有效果,加100%,如果html没给宽度的话,一直就是浏览器可视区域的宽度