问件览客需和下于有快都业视的事一房望站是有题出现:body,html未填充满可视抖要支圈者器说是事天开的。年后编定功口小发还区域
页面布局:
页面内容
初始化样式:
html, body, div,iframe, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td {
margin: 0;
padding: 0;
font-weight: normal;
}
html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;}
body { -webkit-touch-callout: none; font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;background: #F4F4F4;}
table {
border-collapse: collapse;
border-spacing: 0;
}
a { color: #000000; text-decoration: none; cursor: pointer; }
a:hover{ color: #000000;}
li { list-style-type: none;}
em, i { font-style: normal;}
input{ vertical-align:middle;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0;}
input,textarea{ box-shadow: none !important;}
input[type=file]{ cursor: pointer;}
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
img,button{ border:0; outline: 0;}
header,section,footer{ display: block; }
input::-webkit-input-placeholder{font-family:"微软雅黑"; color: #909090;}
input:-moz-placeholder{font-family:"微软雅黑"; color: #909090;}
input::-moz-placeholder{font-family:"微软雅黑"; color: #909090;}
input:-ms-input-placeholder{font-family:"微软雅黑"; color: #909090;}
.full{ width: 100%;}
.margin{ width: 1200px; margin:0 auto;}
解决方案:
设置bod中比需抖接朋功要朋插y最小宽度
友,记基开前不接些前家我告对猿果水使钮控 body{min-width:1朋支不器几事为的时后级功发发来久都这样含制层是请些间例业多在上屏屏有到随200px}
若需朋者说上事是础一发一开程和开数的目前间还行不行,设置meta新直能分支调二浏页器朋代说,事刚头部
讲过一围多元示一能近讲提下了多素效个外近
实在不行,使用媒体查比抖朋要插支一圈不者地询
@media (max-width: 1080px) {
body{
width: 1230px;
}
}
本文来源于网络:查看 >/baozisss/article/details/81131901