我开发的只是看火狐。完成后我用chrome打开我的网站..然后我看到对齐问题......
以下代码
<span class="fbtopbutton">
<div id="left">
<a href="#"><img src="/images/fb-login.png"></a>
</div></span>
我在html代码的适当位置使用此代码..(因为一些PHP代码限制..)这就是为什么使用margin-left top and right
Css代码 .fbtopbutton {position:absolute; margin-top:5px; margin-left:27px;}
在Firefox浏览器中
在Chrome浏览器中
答案 0 :(得分:0)
尝试:
.fbtopbutton{ position: absolute;top: 5px;right:(however far from the right you need it to be)}
确保父母的位置绝对或相对。