Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

can you have your webpage open down then page automatically rather then at the top

Options
  • 09-08-2009 7:55pm
    #1
    Posts: 0


    can you have your webpage open down then page automatically rather then at the top


Comments

  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Yes.

    You need to use <a name="bit-down-the-page-number-1"></a> at the top of where you want to link to. Then the link to that is <a href="http://somesite.com/directory/page.html#bit-down-the-page-number-1">link text</a>.

    Example here:
    http://www.astro.ucla.edu/~wright/cosmology_faq.html#top


  • Registered Users Posts: 21,239 ✭✭✭✭Eoin


    Not that it makes much difference, but you can also use any element with an ID, so it doesn't have to have an anchor tag.


  • Posts: 0 [Deleted User]


    eoin wrote: »
    Not that it makes much difference, but you can also use any element with an ID, so it doesn't have to have an anchor tag.
    do you mean i can hyperlink to a specific spot on one of my pages without using an anchor tag?,

    if so how???


  • Registered Users Posts: 21,239 ✭✭✭✭Eoin


    Sorry, I mean that the element you are linking to doesn't need to have a
    [html]<a name="">anchor</a>[/html]

    You link to it in the normal way:

    [html]
    <a href="#divContent">Main Content</a>
    ....
    ....
    ....
    ....
    ....
    ....
    ....
    <div id="divContent">main content goes here</div>
    [/html]


Advertisement