Home > Questions and Answers > General Questions

Layered script messed up in FF (2)


09-06-2011 11:43 PM #1 nils (Member)
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:

Code:
.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.


09-06-2011 11:47 PM #2 index (Member)

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


Home > Questions and Answers > General Questions