By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,788 Members | 1,115 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,788 IT Pros & Developers. It's quick & easy.

Anchor tags IE 7

P: n/a
Hi,
I am trying to figure out the anchor tag issue with IE7 (works
fine in IE6, Firefox) which jumps to the top of the page. The html
code is as below :

<h1>
<a id='sh3' name='sh3'>
<span sectionHeader"><strong>Test</
strong><strongyahoo dev api made public </strong></span><br />
</a>

</h1>

Accessing the page with http://www.domainname.com/test.aspx?id=asfdasdaf#sh3
doesnt seem to work.

Any help would be appreciated !

Thanks,
Sam

Feb 26 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
..oO(sr*****@mailcity.com)
I am trying to figure out the anchor tag issue with IE7 (works
fine in IE6, Firefox) which jumps to the top of the page. The html
code is as below :

<h1>
<a id='sh3' name='sh3'>
<span sectionHeader"><strong>Test</
strong><strongyahoo dev api made public </strong></span><br />
</a>

</h1>
What about just

<h1 id='sh3'>Test yahoo dev api made public</h1>

That's enough (unless you still care about old browsers like NN4).
>Accessing the page with http://www.domainname.com/test.aspx?id=asfdasdaf#sh3
doesnt seem to work.
Please use either example.com or - even better - give a real URL of your
own. The code given above is not enough for troubleshooting.

Micha
Feb 26 '07 #2

P: n/a
On 25 Feb 2007 17:23:09 -0800, sr*****@mailcity.com wrote:
Accessing the page with http://www.domainname.com/test.aspx?id=asfdasdaf#sh3
doesnt seem to work.
I think you've discovered the relatively unknown bug where pages named
asfdasdaf never work properly. Are you sure the domain name in this
example is correct ?

--
Steven
Feb 26 '07 #3

P: n/a
On Feb 25, 8:41 pm, Steven Saunderson <phe...@Syd.auwrote:
On 25 Feb 2007 17:23:09 -0800, sri_...@mailcity.com wrote:
Accessing the page withhttp://www.domainname.com/test.aspx?id=asfdasdaf#sh3
doesnt seem to work.

I think you've discovered the relatively unknown bug where pages named
asfdasdaf never work properly. Are you sure the domain name in this
example is correct ?

--
Steven
Initially, I tried "<h1 id='sh3'>" and it doesnt seem to work. And,
the name attribute with a tag was added for NN4.
the domainname is psuedo and also the ID.
Sam.

Feb 26 '07 #4

P: n/a
On 25 Feb 2007 19:46:59 -0800, sr*****@mailcity.com wrote:
Initially, I tried "<h1 id='sh3'>" and it doesnt seem to work. And,
the name attribute with a tag was added for NN4.
the domainname is psuedo and also the ID.
Can you publish the page and provide a real URL ? I just checked one of
my pages with <h2 id='image'and positioning works correctly with IE7.
There must be something else wrong but it is hard to determine from your
post.

--
Steven
Feb 26 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.