Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-20-2013, 04:29 PM #1
- Join Date
- Feb 2010
- Thanked 0 Times in 0 Posts
Anchor link not going to top of page?
Sorry, I tried the one place I hadn't and it worked. Seems I had to put the anchor between a div called head_wrap and the img src of the header itself.
I'm trying to create a 'back to top' link on my tumblr blog here: http://thisisenglandtribute.tumblr.com
I have my link in place OK (foot of the page, naturally), but clicking it doesn't take you quite to the very top. As you can see when clicking it, it falls short my about 40px or so.
I have my anchor positioned immediately before the <head> tag in my code, and have tried it in various different positions, but it always falls short of the very top when clicking the link, no matter where I put the anchor.
I'm on XP, using firefox and the anchor code I'm using is:
<a id="top"></a> as the anchor, and <a href="#top">Top</a> as the link code
Last edited by OurJud; 05-21-2013 at 02:18 PM.
05-20-2013, 09:31 PM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 974 Times in 947 Posts
So you solved it? If so then edit your first post (in advanced mode) and select “Resolved” from the select box next to the title field.