Need help with anchoring "#top"...

Discussion in 'Web Design & Programming' started by blade, May 11, 2007.

  1. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    Is it possible to have an anchor in your heading
    Code:
    <a name="top"></a>
    and have your other pages link to that anchor
    Code:
    <a href="#top">back to top</a>
    or do you have to put an anchor on each page that you want to link to
     
  2. Sniper

    Sniper Administrator Staff Member

    Likes Received:
    59
    Trophy Points:
    63
    delayed reply :) anyway, you don't need to have a "top" anchor, just create a link on any page to
    HTML:
    <a href="#top">back to top</a>
     
  3. blade

    blade GEEK 2.0

    Likes Received:
    0
    Trophy Points:
    0
    yea thats the same link I'm using, but im asking if you can put it in your header and hav links to top on every page to link to that top code on the header; or would u need to place that top code in every page to link to the top
     

Share This Page