对 IE7 的 Twitter Bootstrap 支持 [英] Twitter Bootstrap support for IE7

查看:23
本文介绍了对 IE7 的 Twitter Bootstrap 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序构建在最新的 Bootstrap 版本 3.0.3 上.在 Chrome 和 Mozilla 上一切正常.现在突然间,人们希望它支持IE7 和 IE8.我曾尝试实施 Bootstrap 3 for IE7 ,但没有帮助.一切仍然不一致.

I have my application built upon latest Bootstrap Version 3.0.3. Everything was running fine on Chrome and Mozilla. Now suddenly, people want it to support IE7 and IE8. I have tried implementing Bootstrap 3 for IE7 , but it didn't help. Everything still stays dis-aligned.

在 IE 7 和 IE8 中,事情仍然一团糟.

Things are still messed up in IE 7 and IE8.

我是否需要手动覆盖 Bootstrap 样式?我怀疑,bootstrap 如此具有可扩展性和流行性,一定是为了支持 IE7.

Do I need to manually override the Bootstrap Styles? I doubt, bootstrap being so extensible and popular, must have done something to support IE7.

推荐答案

如果您必须支持 IE7,请不要使用 Twitter 的 Bootstrap 3.Twitter 的 Bootstrap 3 有很多变化(将 Bootstrap 更新到版本 3 - 我该怎么做?http://bassjobsen.weblogs.fm/its-a-shame-the-newest-version-of-githubs-most-流行项目不向后兼容/)不要尝试为 IE7 修复它们.考虑使用最新的2.3.2版本,没有问题.你不能两者兼得;支持旧浏览器和最新的 HTML/CSS 支持.

Don't use Twitter's Bootstrap 3 if you will have to support IE7. Twitter's Bootstrap 3 has many changes (Updating Bootstrap to version 3 - what do I have to do?, http://bassjobsen.weblogs.fm/its-a-shame-the-newest-version-of-githubs-most-popular-projects-is-not-backward-compatible/) don't try to fix them for IE7. Consider to use the latest 2.3.2 version, nothing wrong with it. You simple can't have both; support for older browsers and the newest HTML / CSS support.

这篇关于对 IE7 的 Twitter Bootstrap 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆