views:

99

answers:

1

When I access the site with an anchor set (...#xxx) the image on top is shifted outside the viewport.

Normal behaviour: http://soc.org/index.php?id=4
Corrupted design: http://soc.org/index.php?id=4#c272

The top image is positioned absolute. There are some blank lines directly after the google-analytics code. If I delete them, it works.

Thanks for any suggestions!

A: 

It's easier to see what's going on if you turn off the overflow:hidden on div.upperPage

You can see the anchor is causing the scroll on the contents of that, rather than on the page as a whole. However, I don't know of any specifications that state what elements should scroll to achieve the anchor requirement.

Alohci
removing overflow:hidden fixed the problem for me. I don't know about similar problems, though
Markus