Forms Bootstrap 3水平形式/IE8支持
所以我正在使用Bootstrap3开发一个网站。这个网站需要在IE8中正确呈现(是的,我知道)。我现在正在做一个水平的表格。使用引导文档提供的代码:Forms Bootstrap 3水平形式/IE8支持,forms,twitter-bootstrap,internet-explorer-8,Forms,Twitter Bootstrap,Internet Explorer 8,所以我正在使用Bootstrap3开发一个网站。这个网站需要在IE8中正确呈现(是的,我知道)。我现在正在做一个水平的表格。使用引导文档提供的代码: <form class="form-horizontal" role="form"> <div class="form-group"> <label for="inputEmail1" class="col-lg-2 control-label">Email</label> &
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="inputEmail1" class="col-lg-2 control-label">Email</label>
<div class="col-lg-10">
<input type="email" class="form-control" id="inputEmail1" placeholder="Email">
</div>
</div>
<div class="form-group">
<label for="inputPassword1" class="col-lg-2 control-label">Password</label>
<div class="col-lg-10">
<input type="password" class="form-control" id="inputPassword1" placeholder="Password">
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button type="submit" class="btn btn-default">Sign in</button>
</div>
</div>
</form>
电子邮件
密码
记得我吗
登录
并注意到它不能在IE8中正确显示。即使转到文档URL:
无法在IE8中正确显示
我是否必须以特定格式编写表单才能在IE8中工作
谢谢 看看这里的解释: 您需要将respond.js添加到站点,以便IE8处理媒体查询
更多信息:请查看此处的说明: 您需要将respond.js添加到站点,以便IE8处理媒体查询
更多信息:什么是“未正确显示”?我们中的许多人都没有IE8可用,但我们可能能够提供更好的描述。谢谢@isherwood。我用截图更新了这个问题,“显示不正确”是什么意思?我们中的许多人都没有IE8可用,但我们可能能够提供更好的描述。谢谢@isherwood。我用截图更新了这个问题