【发布时间】:2013-08-19 12:28:45
【问题描述】:
我有一个简单的对象,我想在页面的某个位置显示。
代码:
.DownloadBtn
{
height:35px;
width:150px;
background:#09F;
display:block;
position:absolute;
margin:280px 60px;
}
<a href="/products.html" class="DownloadBtn">Download Now</a>
这会在 Firefox 上的最佳位置显示我的下载按钮。 但是,在 Google Chrome 上,它在左侧滑动得更多。 在 IE 上,它在左侧滑动得更多。
所以基本上是这样的:
火狐:--------立即下载--------
Chrome:----立即下载-----------
IE: --DownloadNow-------
有没有一种方法可以让所有浏览器都将它放在一个秒的位置? 感谢您的帮助!
【问题讨论】:
-
它在我电脑上的所有浏览器上都保持在相同的位置。
-
否定:需要解释一下吗?嗯...由于某种原因它不在我的身上..
-
哪个版本的IE?每种情况下多少像素?截屏?小提琴重现问题?