简体   繁体   English

HTML / CSS-Internet Explorer浮动问题

[英]HTML/CSS - Internet Explorer floating issue

Reference: http://webfreak.co.nz/contact.aspx 参考: http : //webfreak.co.nz/contact.aspx

If you go to this page on IE, the right block isn't floating inline, but it's all good in other browsers. 如果您在IE上转到此页面,则正确的块不是内联浮动的,但在其他浏览器中都很好。 What could be the problem here? 这可能是什么问题?

View the source for the HTML and CSS. 查看HTML和CSS的源代码。

IE rounds up/down differently than modern browsers do but you aren't helping things by setting the left div to 57% but then the right div in px along with other elements. IE的舍入/舍入与现代浏览器的舍入/舍入有所不同,但是您将左div设置为57%,然后将px中的右div设置为其他元素并没有帮助。 How do you know how many px are left? 您怎么知道还剩下多少像素? IE is probably rounding differently and thus dropping the right div down to make room. IE可能会以不同的方式四舍五入,因此会降低正确的div来腾出空间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM