Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 606477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:15:30+00:00 2026-05-13T17:15:30+00:00

Having an odd problem at the site. Link tag having href=#anything doesn’t move you

  • 0

Having an odd problem at the site. Link tag having href="#anything" doesn’t move you to the top of the page or to the specified anchor, it moves you to the home page. That’s it – when I hover over the link I see at my FF’s status bar example.com/# instead of example.com/testpage.php#.

Site is full of crap code and it’s impossible to verify all of the settings and especially header configuration or etc.

Any hints on where this might be?

P.S. Link’s href is not altered with JS, Firebug claims it to be href="#" when I click it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:15:31+00:00Added an answer on May 13, 2026 at 5:15 pm

    My initial thought is that you may have a base tag in play somewhere. Check your code for something like the following, and remove it if necessary:

    <base href="http://www.mydomain.com/testpage.php" />
    

    Obviously, caution is necessary as there may be some markup that is dependent upon any pre-existing base tags. Also make sure that your href value is not preceded with a foward slash like this:

    <a href="/#anything">Click Me</a>
    

    As this will go to #anything on the default startpage of the root directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having an odd problem while deploying a Django site using Fabric. I've configured
Im having a odd Problem with the TTS engine and I cant figure out
I was having an odd problem that I narrowed down to the following test
I'm having an odd problem, when attempting to build my application using Maven, on
Im having a very odd problem. Im trying to install a Python program. Im
I am having a rather odd problem with the Gecko Webbrowser control, I have
I'm having a very odd problem with my program and am hoping you can
Can anyone help with an odd Ruby Gem problem I'm having - note I've
I am having an odd problem when searching a UITableView using a UISearchDisplayController. The
We are having an odd problem with .NET Remoting. Basically, we have a server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.