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 8059295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T09:37:38+00:00 2026-06-05T09:37:38+00:00

I have a problem with a simple anchor problem… Portfolio_view.php <div id=site-name> <a href=#portfolio>Go

  • 0

I have a problem with a simple anchor problem…

Portfolio_view.php

 <div id="site-name">
        <a href="#portfolio">Go to portfolio</a>
        <h1 id="portfolio">Portfolio</h1>
  </div>

When i am on the portfolio.php i use this code:

  <a class="album_object" href="portfolio_view.php?album=objecten#portfolio"><a/>

This doesnt work for some reason.The browser just stay at the top of the page.

But this on the portfolio_view.php does work correctly

<a href="#portfolio">Go to portfolio</a>

When i refresh the

portfolio_view.php?album=objecten#portfolio

It does work properly
So i cant figer out whats the problem.
I am using HTML5 by the way.

  • 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-06-05T09:37:40+00:00Added an answer on June 5, 2026 at 9:37 am

    If you c/p the markup, then its cause your backslash is off.

    <a class="album_object" href="portfolio_view.php?album=objecten#portfolio"><a/>
    

    You have a typo: <a/> instead of the correct </a>

    Edit:

    Also, I had the problem where if you link to an id in a page, when you visit that link the browser will drop to either the top of the content with that id, or until it reaches the point where it is the height of the document minus the height of the window.

    This means if your page doesn’t need scrolling or there is not a full window’s worth of content below the position of the id, when you link to that id, it will appear as though nothing happened. This is because the browser can’t scroll down to the top of the content with that id because the document is not tall enough.

    Hope that made sense.

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

Sidebar

Related Questions

I have problem installing simple Windows Service, my code looks like this: using System;
I have a simple problem with XML got from database. Now, this XML can
I have this simple problem in SQL. I have a table with 4 columns.
I have uploaded the following simple HTML code to http://losthobbit.net/temp/anchor.html <!DOCTYPE HTML PUBLIC -//W3C//DTD
I have a problem with simple form for, I get this error url(http://localhost:3000/konkurrencer/new): Showing
I have simple WinForms GUI that I want to use with TabPages. The problem
I have problem with this simple wrapper of mutex / cond wait class. I
I have problem with creating a simple MySQL trigger in C#. I'm using StringBuilder
I have a simple problem that i cannot solve. I have a dictionary: aa
I have a simple problem but I am not sure how to solve it.

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.