On the page, the horizontal position of the text is different depending on the browser. Here’s the website: http://www.nyestateslawyer.com/, the text in question is the two phone numbers in the red box. I hope someone can help. Thanks in advance!
Here’s the CSS:
<pre><code>
#phone_text_manhattan
{
z-index:100;
position:absolute;
color:white;
font-size:15px;
left:777px;
top:263px;
}
#phone_text_bkln
{
z-index:100;
position:absolute;
color:white;
font-size:15px;
left:985px;
top:263px;
}
</code></pre>
Put that component in a div, and position it relative to that div.
That means
position:relative;Now up to top most do it same, and at root tag specify it based of browser window width and height. so that all alignment will be same.
Hope this will help you.