On 16/12/10 20:31, Alan Chandler wrote:
On 16/12/10 20:10, Susanne Jäger wrote:
Alan Chandler wrote:

http://www.hartley-consultants.com/forum/index.php/board,1.0.html

where the Go Up and Go Down links at the bottom and top of the list of
forum topics are causing problems.

The are links (ie <a href="#top">Go Up</a> to anchors of the form <a
id="top"></a>

When I have jumped via these links, the browser window will no long
scroll to the part of the page above these anchors. Also the page
wrapper and associated shadow seems to be offset from the page itself.

Any ideas?

removing overflow: hidden; for #page_wrapper seems to solve the problem
(at least in Seamonkey).

Interesting

Unfortunately, overflow:hidden is necessary to prevent the right
side shadows continuing down the page forever (or rather for 20000px).

I can't quite remember why - I think its because I need to extend
sh_side to at least the bottom of the page, and its one of those column
equalising tricks where you use a massive padding and negative margin

But at least it corrects my other problem. Now to understand why - seems
to indicate that the anchor is somehow causing the content above it to
overflow the top of #page_wrapper.



Thanks to those who replied. Its now Solved. Overflow:hidden seems to be the enemy of anchors, but an alternative approach to the sidebar, using a background image on #page_wrapper instead of a separate div removes the need for the overflow:hidden directive.

--
Alan Chandler
http://www.chandlerfamily.org.uk

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to