Forum Moderators: phranque

Message Too Old, No Replies

Anchors in HTML email

anchors html

         

mmedia2004

4:15 pm on Sep 29, 2004 (gmt 0)

10+ Year Member



Hi all

I have a small issue as someone did before. I am trying to send out an html email and would like to add some anchors within it. However I do not want the user to have to open another window...and more importantly I would like to point it to the same page.

I am using <A HREF="#section1"> and <A NAME=section1>
i have tried taking the "" out and was told it helped another user has anyone got any ideas...

I think the biggest problem is that I not understanding this base url business btu I clearly understand relative links...

choster

4:45 pm on Sep 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi mmedia, welcome to WebmasterWorld!

The normal syntax (<a href="#section1">section 1</a>) is what we use, and it works fine in Outlook, but I think it really depends on the e-mail client and configuration. I have not found any simple guide to the idiosyncrasies of Outlook Express 5 versus Eudora Lite, or how Yahoo's webmail system rewrites links as opposed to SquirrelMail or Gmail. You simply need to test in your targeted clients.

mmedia2004

8:56 am on Oct 6, 2004 (gmt 0)

10+ Year Member



You say it works in outlook but I have already tried and tested this, but it keeps opening another browser window.

Do you think it might be the configuration of outlook? perhaps in options?

TheJoshen

7:52 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



I'm having exactly the same problem - it is driving me mad!

I think this has less to do with the syntax used and more to do with how the html email is created

I have tried using the href anchor tag with and without the "" marks and it makes no difference

my target email client is Outlook (not web based which most people say causes the most problems with anchors)

I'd like to know how the people who have been successful using anchors actually produce their html emails

I create the webpage in Dreamweaver (so that the anchors work in a browser) and then I open it up in IE and choose File > Send > Page by email

when you click on the anchor link (in the subsequently produced email) all it does is spawn a browser window

:(

mmedia2004

8:08 am on Oct 7, 2004 (gmt 0)

10+ Year Member



I have now found the solution. Create your email how ever you want and then I have used a explorer window to view. Then copy and past into a new html email and at that point highlight the link and right click. This should then give you properties. Then you simply take everything out leaving the #name (name of the tag - do not add the full url in) and this has worked for me....

TheJoshen

10:08 am on Oct 8, 2004 (gmt 0)

10+ Year Member



yes I too found something that worked for me:

I simply started to use Front Page - I would do my page in DW and then open it in Front Page and use the File > Send option.

This method doesn't mess with your anchor tags or place a BASE tag in the header - I think you still need to remove the "" marks though