473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Anchor tags IE 7

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
4 5739
..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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: bengee | last post by:
Hi First off - by the word "anchor" i DON'T mean a link, i.e. <a></a> tags I'm trying to position a <select> box inside a <div>. I can use relative positioning to set where the box should...
11
by: yawnmoth | last post by:
If using an onclick event handler to execute javascript when an anchor element is clicked on, what should the href attribute be? #? javascript:void(0)? Something else?
1
by: Jack Fox | last post by:
I am saving some formated html fragments (text, some formatting tags and anchor tags) in a SQL text column then writing it to a page. Something strange is happening with the anchor tags within the...
3
by: DC | last post by:
Given: a { text-decoration:none; } a:hover { text-decoration:underline; }
1
by: newcreation | last post by:
I call this a weird problem because I can't find anything on it over the internet. Whenever I try to put in an anchor tag within a paragraph, the anchor forces a line break and appears on the next...
1
by: baskarpr | last post by:
Could somebody help me ? I believe this might be elementary, but I am not much familiar with HTML .In my page i have two frames. I have a number of anchor tags in right frame. Every anchor tag in...
1
by: praveenb000 | last post by:
Hi every one, I designed a web page, having horizontal menu using UL and LI tags; I need to be set rollover effect for a menu items. whenever user hover on a menu item, the entire...
8
by: azjudd | last post by:
Thank you in advance for your help on this one. I'm using named anchor tags on a FAQ page with questions listed at the top and answers below; a standard jump-to feature. However, anytime an anchor...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.