【发布时间】:2013-04-08 15:26:16
【问题描述】:
在我的页面上,水平滚动条甚至出现,如果它不应该出现的话。该问题仅出现在 Chrome 中。
http://megacennik.com/start.html?idHurtownia=13
即使宽度为 120 像素,它看起来也像右侧的横幅;溢出:隐藏;比他们应该的要宽得多。 有谁知道问题出在哪里?
【问题讨论】:
标签: html google-chrome width scrollbar
在我的页面上,水平滚动条甚至出现,如果它不应该出现的话。该问题仅出现在 Chrome 中。
http://megacennik.com/start.html?idHurtownia=13
即使宽度为 120 像素,它看起来也像右侧的横幅;溢出:隐藏;比他们应该的要宽得多。 有谁知道问题出在哪里?
【问题讨论】:
标签: html google-chrome width scrollbar
使用float:left 和float:right 属性而不是position: relative; left: 882px;
在你的:
<div style="position:relative;left:882px; height:0px; overflow:visible;">
此外,为了发现和解决您的问题,您可以在右键菜单中使用 Inspect Element 并更改每个元素的值以获得更好的感觉。
祝你好运:)
【讨论】: