6 replies
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
#div #html #link
  • Profile picture of the author cpusl
    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...
    {{ DiscussionBoard.errors[10698967].message }}
  • Profile picture of the author asherali
    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>
    {{ DiscussionBoard.errors[10699234].message }}
    • Profile picture of the author wally247
      Thank you, that works! Much appreciated.
      Signature
      {{ DiscussionBoard.errors[10699235].message }}
      • Profile picture of the author asherali
        Originally Posted by wally247 View Post

        Thank you, that works! Much appreciated.
        You are welcome!
        {{ DiscussionBoard.errors[10699239].message }}
  • hi! i suggest u can just do : <a href=" http://http://www.kufrilifefabrics.com/" target''_blank"></a> and mighit work .
    {{ DiscussionBoard.errors[10742991].message }}
  • Profile picture of the author Sun Tzi
    Why don't you style the A-Tag like a button? The CSS property display, will help...
    {{ DiscussionBoard.errors[10744901].message }}

Trending Topics