gpt4 book ai didi

html - 为什么不为 IE7+ 使用 col-sm-6

转载 作者:行者123 更新时间:2023-11-28 04:48:40 25 4
gpt4 key购买 nike

我有这个样本:

link

代码 HTML:

<div class="container-fluid">
<div class="row">
<div class="col-sm-6">
asdad
</div>
<div class="col-sm-6">asdsa</div>
</div>
<div class="row">
<div class="col-sm-6">asdsa</div>
<div class="col-sm-6">asdsa</div>
</div>
</div>

请测试此示例 internet explore 7,您会发现它无法正常工作。

你能帮我解决这个问题吗?谢谢!

最佳答案

Bootstrap 3 放弃了对 Internet Explorer 7 的支持。

Bootstrap 3 uses the box-sizing property for layouts which is not natively supported by IE7. The polyfill 'boxsizing.htc' is required: https://github.com/Schepp/box-sizing-polyfill.

整个事情在以下位置有很好的描述:https://github.com/coliff/bootstrap-ie7

关于html - 为什么不为 IE7+ 使用 col-sm-6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40819801/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com