Ie 7浮动错误如何将东西放在同一行
大家好,我正在尝试为我的兄弟 http://labelenne.com 创建一个网站,但我遇到兼容性问题使用IE7(我希望模板从Ie7兼容到Ie9+)
像往常一样,对于严肃的浏览器没有问题,但是对于ie7...正如你在主页上看到的,我有一些帖子,我想要实现的是让它们浮动就像他们在 Chrome 中所做的那样。
我做错了什么?
最终结果将在同一行上为每个类别提供 3 个帖子,也许实际上在 chrome 中也只有其中 2 个帖子在一行上...我不在乎,我知道 webkit,所以我也知道如何解决这个问题,只是在意大利是2:20我需要睡觉了!
谁能告诉我IE7有什么问题吗?非常感谢,晚安!
Hi to all I'm trying to create a website for my brother http://labelenne.com but I have a compatibility issue with IE7 (I want the template to be compatible from Ie7 to Ie9+)
As usual no problem with serious browsers but with ie7... As you can see on homepage I have a few posts what I would like to achieve is to have them floating like they do in Chrome.
What am I doing wrong?
Final result will have 3 posts for each category on same line maybe actually also in chrome only 2 of them are on a single line... I don't care I know webkit so I also know how to solve this, simply in Italy is 2:20Am so I need to sleep!
Is there anyone who can tell me what is the problem with IE7? Thank you very much and good night!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于无法使用 ie7 试验您的代码,我无法确定,但我有一种预感,这与 div 上基于 % 的宽度有关。您是否尝试过设置 px 宽度?
Without being able to experiment with your code with ie7, I can't know for sure, but I have a hunch it has to do with having % based widths on the divs. Have you tried setting px widths instead?