Anchor links in Google Chrome - Page...

User 187934 Photo


Senior Advisor
20,197 posts

I think everyone in this thread is using an html box. I think the original post was a little confusing because it also appeared to me that he was hacking his site but it turned out that he wasn't.:)
I would think this would still be the same as altering the position of the anchor.
Thanks for that work around Per. Gives users another option.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1948478 Photo


Senior Advisor
1,850 posts

JonnyB wrote:
...In fact, I am not sure why (maybe you could help explain) but simply adding
style="position:absolute;left:0px;top:0px"
To every anchor link, makes it work. There was no need to increase the 0. Perhaps the positioning simply causes VSD to handle the HTML differently?

I'm glad the page anchors are working for you,
BUT:
I think you have ended up with a situation where 'two wrongs make a right' in a purely accidental fashion. You now have two contradictory positioning statements and - by luck? - you are ending up with something that happens to work. I wouldn't feel comfortable with this, since it could very well cause unpredictable effects in the future when you make other changes to the page or when the browsers issue updates.

If I were you I would remove the old 'boxes' for anchor positioning and only use the simple one-line anchor definition with style="position:absolute;left:0px;top:XXpx" reflecting the correct anchor position for each case.
And I would remove the boxes 'properly' from within the VSD program, rather than edit the code, for reasons stated earlier.

Have fun! ;)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.