使Zurb的基金会3与IE7一起工作 [英] Making Zurb's Foundation 3 work with IE7

查看:99
本文介绍了使Zurb的基金会3与IE7一起工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个解决方案已经提出使Zurb的基础3框架与IE7工作。不一定是复杂的支持,但肯定支持网格。

A solution has been proposed for making Zurb's Foundation 3 Framework work with IE7. Not necessarily complicated support, but certainly grid support.

解决方案表示为:http://www.stormconsultancy.co.uk/blog/development/code-snippets/making-zurb-foundation-3-work -on-ie7 /

我试图在这里复制: http://sausag.es/foundation/grid.html

我在我的foundation.min中添加了一个指向htc文件的链接.css

I've added a link to the htc file in my foundation.min.css

引用是相对于HTML而不是CSS。

The reference is relative to the HTML, not the CSS.

在htaccess关于htc文件。

I've added a line in htaccess about the htc file.

但仍然我不能得到网格显示在IE7,因为它在IE8。

But still I cannot get the grid to show in IE7 as it does in IE8. Where am I going wrong?

推荐答案

你的样式表

*behavior: url(/stylesheets/box-sizing.htc);

转换为以下地址:

http://sausag.es/stylesheets/box-sizing.htc



which returns a 404. You could fix this by changing the line to:

*behavior: url(/foundation/stylesheets/box-sizing.htc);

或移动 box-sizing.htc 将文件下载到一个文件夹。

or by moving the box-sizing.htc file down one folder.

这篇关于使Zurb的基金会3与IE7一起工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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