Log in

View Full Version : Firefox vs. Safari div allign problem



RolandPoort
01-18-2009, 10:57 AM
Hello everyone,

I'm writing you guys because i tried almost everything in my knowledge. I cant seem to figure out why the page is not loading well.

The site works with a lot of divs. When you click on a div a 2nd div will be opened with an higher z-index so it will cover the layer underneath. Once clicked it will return to the 1st layer.

The thing is in Firefox its working perfect. In Safari the window scrolls a bit down when clicked.

I attached 2 screen shots to indicate this problem.

This is as it needs to be
http://sinisters.gamepoint.net/roland/FIREFOX.jpg


Here you see somehow it scrolls down a bit.
http://sinisters.gamepoint.net/roland/SAFARI.jpg

Its only for the div thats loaded automatically, the divs that you enter when clicked work both in Firefox as in Safari. The strange thing is these codes are exactly the same.

Please, i need some help :)

This is the TEMP link.
http://sinisters.gamepoint.net/ies/

Snookerman
01-18-2009, 11:01 AM
Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

npsari
01-21-2009, 11:58 PM
I always face problems when trying my pages in I.E. then Firefox

I usually face troubles with Table borders most

If you want the DIV to start from the left, then, this should be the same on both browsers, i wonder why you got a problem

Anyway, you can use this


<div style="position:absolute;left:10px;top:10px;">
YOUR STUFF HERE
</div>

It allows you to start the DIV from a certain point on the page