HTML coding problem

Discussion in 'Tech Chat' started by Statboy, Nov 20, 2015.

  1. Statboy

    Statboy Resident Cueball

    I'm hoping somebody here is smarter than me. I'm using anchors on my website in order to hyperlink to a specific part of a page. I'm using the "div" anchor which seems to work fine hyperlinking on the same page as the anchor but I can't get the hyperlink to work from a different page. ie this link will work if you click it from here, but when I try to link within my website, but on a different page within it, it adds an extra slash before the hashtag, breaking the anchor.
  2. VintagePC

    VintagePC GodModePC (One-man Show) VF4-S (Server Operator) Forum Operator Minecraft Operator Global Moderator Staff Member DMC Tester TF2L developer

    don't use divs as anchors. use
    <a name="blah"> <<stuff to be anchored to goes here>> </a>
    • Useful Useful x 1
  3. Statboy

    Statboy Resident Cueball

    Hey works perfectly now, ty
    • Like Like x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice