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 http://hotstoveusa.com/candidates/bc#i3 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 (Lead Developer) Srcds Server Operator Forum Operator Minecraft Operator Global Moderator Staff Member

    don't use divs as anchors. use
    HTML:
    <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

Share This Page