Geeks With Blogs


Aaron Li's Blog Write it down before I forget January 2008 Entries
Named Anchor in IE and Firefox
Generally, the following code can lead the hyper link to a named anchor <a name="aMyGoTo"></a> <a href="#aMyGoTo">go to the defined point</a> However, in IE, sometimes it seems the named anchor doesn't work. Here is the solution. To replace <a name="aMyGoTo"></a> with <span style="position:absolute;"&... id="aMyGoTo">&nbsp;&... In the case a div or other tag with style sheet coming right after the <span>named anchor</span>, ......

Posted On Friday, January 25, 2008 12:34 PM

Copyright © Aaron Li | Powered by: