Welcome to WebmasterWorld Guest from 18.207.238.169

Forum Moderators: open

Message Too Old, No Replies

Name attribute half hearted in Firefox

Using anchors to reduce vertical scrolling

     
7:20 pm on May 2, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 24, 2006
posts:111
votes: 0


An intra page link from the top of the page works fine in IE7. However, Firefox travels about half way to the target. It leaves the target below the window. This requires scrolling for the viewer to find the target.

Has anyone had this problem? Is there a fix for it?

8:33 pm on May 2, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


This can sometimes happen when the target anchor is in a nested table - is that the case here? It's been one of the drawbacks of a table-based layout.
10:23 pm on May 2, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 24, 2006
posts: 111
votes: 0


There is no table involved. The target is an h1 heading of a section of text.
2:45 am on May 3, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Well, scratch one idea. Does your page validate at the W3C?
3:13 am on May 3, 2007 (gmt 0)

Senior Member from MY 

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 1, 2003
posts:4847
votes: 0


It normally works fine if the link is on the same page... it can be buggy when the link is on another page and you use CSS or Tables for layout as it calculates the position to scroll to before rendering external content.
1:34 pm on May 3, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 24, 2006
posts:111
votes: 0


I checked validation. There was a css problem (which I wouldn't have guessed was related). When fixed the Firefox half-hearted effort become whole-hearted.

Thanks everybody

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members