Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in anchor href

Status
Not open for further replies.

paragvshah

Programmer
Jan 11, 2001
109
IN
In my website there are two pages where i have defined link between them & applied anchor but the anchor doesn't work properly. In page named erp2.htm there are some images which has link to a page named modules1.htm which has different paragraphs & to each image in erp2.htm there is href provided for each paragraphs related to that image but the problem is that to every image the link takes to the first anchor href in that page.

What might be the problem ?

Scripts of second image & anchor href.
erp2.htm: Image2

<td colspan=&quot;2&quot; width=&quot;231&quot; height=&quot;82&quot;><map name=&quot;FrontPageMap1&quot;><area shape=&quot;rect&quot; coords=&quot;103,27,173,81&quot; href=&quot;modules1.htm#Accounting%20&amp;%20Costing%20:&quot; alt=&quot;Accounting &amp; Costing&quot; title=&quot;Accounting &amp; Costing&quot;></map><a href=&quot;_vti_bin/shtml.exe/modules.htm/map1&quot;><img ISMAP src=&quot;images/modulesRow1xCol2.gif&quot; border=0 usemap=&quot;#FrontPageMap1&quot; height=82 width=231></a></td>

modules1.htm: paragraph2

<a name=&quot;Statutory &amp; Regulatory :&quot;>Statutory
&amp; Regulatory :</a>
 
You probably shouldn't use spaces or special characters (&, :) in the anchor name, and keep the text outside of the anchor, try:

Code:
<a name=&quot;Statutory&quot;></a>Statutory & Regulatory
Ahdkaw
&quot;What would you expect from a bunch of monkeys?&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top