Zerb Foundation 3 - IE7 Fix not working?

≯℡__Kan透↙ 提交于 2019-12-06 10:27:42

问题


I am having an issue getting the IE7 fix for Zerb Foundation 3 (found HERE)

I have changed the following:

 * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  *behavior: url(../javascripts/boxsizing.htc); 
}

as well as:

.button.dropdown > ul {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box; *behavior: url(../javascripts/boxsizing.htc); 
  display: none;
  position: absolute;
  left: -1px;
  background: #fff;
  background: rgba(255, 255, 255, 0.95);
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #cccccc;
  border-top: none;
  min-width: 100%;
  z-index: 40;
}

Yet it is still not rednering properly in IE7 according to my adobe browserlab test, now im not sure if its just a browserlab issue as I cant run IE7.

I have also tried to include Modernizr's no-box-sizing which is still implemented but also does not seem to be helping.

You can view the site HERE.

Thanks in advance!


回答1:


I have solved the issue, I was using foundation converted to wordpress and I included the above at the top of my style.css for my theme and it worked for me.



来源:https://stackoverflow.com/questions/12959499/zerb-foundation-3-ie7-fix-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!