HTML Link in DIV

by 6 replies
7
Hello,

I am helping out a friend with their website and am stuck on something. Their web developer added a hyperlink inside of a DIV and although it is recognized as a link, it does not open.

I can right click and open it in a new tab, so it is not related to missing HTML on the link...it simply will not open. I am not really an expert coder by any means, so every solution I have tried (I already tried target _blank) is not working.

Here is her site -- KUFRI | Woven Textiles & Custom Weaving to the trade

The link in question is at the bottom, where it says "Trade Account Signup"

If anybody has any suggestions for how I can make this link work I would appreciate it a ton.

Thanks a lot,
Wally
#programming #div #html #link
  • Not sure why it is not working but you can just replace it with the fully qualified href and it works fine:


    <a href="http://www.kufrilifefabrics.com/trade-account/">Trade Account Signup</a>

    Good luck...
  • Replace it with a button.

    Open in same tab:
    <button onclick="location.href='http://www.kufrilifefabrics.com/trade-account/'">Trade Account Signup</button>

    Open in new tab:
    <button onclick="window.open('http://www.kufrilifefabrics.com/trade-account/');">Trade Account Signup</button>
    • [ 1 ] Thanks
    • [1] reply
    • Thank you, that works! Much appreciated.
      • [1] reply
  • hi! i suggest u can just do : <a href=" http://http://www.kufrilifefabrics.com/" target''_blank"></a> and mighit work .
  • Why don't you style the A-Tag like a button? The CSS property display, will help...

Next Topics on Trending Feed

  • 7

    Hello, I am helping out a friend with their website and am stuck on something. Their web developer added a hyperlink inside of a DIV and although it is recognized as a link, it does not open.