Click to See Complete Forum and Search --> : [RESOLVED] named anchors tags not working in i.e.8


rmeel
09-18-2008, 12:05 AM
Named anchors (<a name="foo">) if they are created with the <a> tag using NAME or ID are not working in the i.e.8. Can anybody help?

Fang
09-18-2008, 01:58 AM
Are the names/ids unique?

rmeel
09-18-2008, 02:04 AM
yes all of them

<ul>
<li><a href="#australia">Australia</a></li>
<li><a href="#china">China</a></li>
<li><a href="#hongkong">Hong Kong</a></li>
<li><a href="#indonesia">Indonesia</a></li>
<li><a href="#malaysia">Malaysia</a></li>
</ul>

<a name="australia" id="australia"></a>
about australia

<a name="china" id="china">
about china

and so on is there any fault in it this simple html code which works in i.e.6, 7 , firefox but not in i.e.8 ?

Fang
09-18-2008, 02:59 AM
Update to Beta2 and write validating code: http://webbugtrack.blogspot.com/2008/04/bug-371-named-anchor-links-are-broken.html

rmeel
09-18-2008, 06:08 AM
Thanks sir it worked I just needed to put <a name="australia" >&nbsp;</a> instead of <a name="australia" class="anchorlink"></a> Thanks again.