I have been struggling for a few days with a problem related to using anchor tags.

The page is question is here

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.

The problem shows up in Firefox, IE8,Chrome and Safari - but Opera seems to work fine

If I change the forum theme to the default that comes with SMF, it works fine. This obviously uses different div's etc surrounding the page and header - the code inside the main page template is the same.

When looking at the anchors in Firebug on the HTML tab in this case they are greyed out where as in my own theme they are not, yet there doesn't seem to be any CSS related to visibility.

I've wondered if I have mistakenly screwed up the nesting of divs, but if I have, I can't find it.

Any ideas?
--
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