Layered script messed up in FF

A quick coding question:
I’ve layered a geo script over an image using chrome dev tool.
At the end it looks something like this:

.timer {position:absolute; top:416px; left:766px;}

I saved it to the editor and it looks perfect when I open it with chrome.
But when I open it with Firefox it’s just all over the place. And I would have to adjust the
top: and left: , but then again it’ll look messed up in chrome if I do that.

How can I layer it so it will look good in ALL browsers?

Thanks for the help.

User Comment:
I believe you need to wrap that image in a div and then set it to position:relative – THEN do absolute positioning within it.

The Article Published IN 09-06-2011 11:43 PM

Share To More ()