Reputation: 81
I was developed my watching firefox only.after complete i open my site in chrome..then i seen alignment problem...
Code Below
<span class="fbtopbutton">
<div id="left">
<a href="#"><img src="/images/fb-login.png"></a>
</div></span>
i using this code in not proper place of the html code..(because of some php code limitation..)thats why using margin-left top and right
Css code .fbtopbutton{ position: absolute;margin-top: 5px;margin-left: 27px;}
In firefox view
In Chrome View
Upvotes: 0
Views: 1813
Reputation:
Try:
.fbtopbutton{ position: absolute;top: 5px;right:(however far from the right you need it to be)}
Ensure that the parent is also positioned absolutely or relatively.
Upvotes: 0