问题描述
一个解决方案已经提出使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.
解决方案表示为:
我试图在这里复制:
我在我的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一起工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!