IE8 在 Ubuntu LTS 服务器上表现得很奇怪
我最近遇到了一个 IE8 错误,其中两个水平元素的边距折叠。我通过用填充替换边距解决了这个问题。
但奇怪的是,它只特定于“Ubuntu LTS 服务器”!它在我的临时站点(Cent OS)中运行良好。
知道它是如何仅在该服务器中以及仅在该服务器中面对的吗?
I recently faced an IE8 bug where the margin collapse b/w two horizontal elements. I solved it by replacing the margin with padding.
But the weird thing was that it was only specific to a "Ubuntu LTS server"! It was working fine in my staging site (Cent OS).
Any idea how it was only faced in that server and that server only?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这需要很多很多的信息才能可靠地回答,就像现实世界的例子一样。
但是,我猜测您的临时站点位于
localhost
上,或者 IE 视为本地的其他地址。在这种情况下,“智能默认值”启动(强调我的)This would need much, much more information to be answerable reliably, like a real world example.
However, I'm going to guess your staging site was on
localhost
, or some other address that IE treats as local. In that case, the "smart defaults" kick in (emphasis mine)