Skip to content Skip to sidebar Skip to footer

Html Simple Anchor Link Doesn't Work In Chrome/firefox

I'm making a portfolio page here (http://198.96.94.51/v2/) and while clicking on the navigationMenu links on the side really fast, they don't seem to redirect to the proper anchor

Solution 1:

Ids identify anchor points so they must be unique.

But if you just want to go to the top of the page you should try a simple # as value for your href attribute.

A link to the id of e.g. a <div> tag would lead you to this <div> tag.

<ahref="#anchor"></a><divid="anchor"></div>

this fiddle shows you: http://jsfiddle.net/aYGFR/1/

Solution 2:

You can give like this: <a id="home" href="home.php">Home</a>

Post a Comment for "Html Simple Anchor Link Doesn't Work In Chrome/firefox"