【发布时间】:2014-03-27 12:50:59
【问题描述】:
我有一个大问题。我在我的网站中使用 bootstrap ver 3.1.1,我想在这个项目中禁用 bootstrap 的响应,但我不能!
这是html:
<div class="container">
<div class="row">
<div class="col-md-9" style="background-color: yellow;">col left</div>
<div class="col-md-3" style="background-color: pink;">col right</div>
</div>
</div>
这是我的自定义 CSS:
body {
background-color:#fdfdfd !important;
font-family:Arial, Tahoma !important;
min-width: 1024px !important;
}
.container {
max-width: none !important;
width:1024px !important;
background-color:#fff !important;
}
删除页眉中的元标记
<meta name="viewport" content="width=device-width, initial-scale=1">
但是当我在 Firefox、chrome 中测试我的网站时,当我调整浏览器的宽度时,元素 div 'container' 的大小是固定的。但是导航栏菜单,网格系统是响应式的。为什么?请帮帮我。
对不起,我的英语不好!
非常感谢!
【问题讨论】:
标签: html css twitter-bootstrap