Firefox, IE, Grrrr!!! - Post ID 169873

User 38401 Photo


Senior Advisor
10,951 posts

who's a degenerate? what? LOL Scott is I think! Bad VP!
User 2292334 Photo


Registered User
1 post

I too had problems with anchors and links on pages jumping to different locations when used on different browsers. I think I found the cause and, more importantly, a simple solution.

In the Coffee Cup help document for Visual Site Designer they say to put the following HTML code where you want to place an anchor:

<a name="anchorName"></a>

This works fine for Internet Explorer. But, Safari, Chrome, and Firefox seem to ignor the position of the anchor.

It seems the problem is that they do not properly locate an "empty" anchor. Adding something (anything) at the anchor point fixes this problem. For example:

<a name="anchorName">&nbsp;</a>

This simply inserts a non-break space character at the anchor point (a space that won't be filtered out). Now the anchor point is fixed and works properly with every browser that I have tried.
User 38401 Photo


Senior Advisor
10,951 posts

Nice Tip David, thanks for sharing :)

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.