472,805 Members | 871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

"<a name="top"> last word 3 browsers

LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.
Jul 24 '05 #1
6 6973
Els
Mason A. Clark wrote:
LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)


You're on a one man quest without reading any responses, aren't you?

Spartanicus provided you with a test that shows that your nr. 3 is
incorrect. Then you write nr. 6 and don't provide any tests yourself.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 24 '05 #2
On Fri, 08 Jul 2005 07:51:27 GMT, Mason A. Clark <ma*************@ix.netcom.com>
wrote:
LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.


I'm required to admit:

After *many* tests of the above on a particular (valid) web page of
mine I tried to make a bare-bones simple demo page (in response to
a claim by Els) and Opera finds <a name etc...></a> with no content.

I resign. No, I'll post the actual problem. A validated page:

http://masonc.home.netcom.com/1template-1.html

Opera will not return to the top -- look for the link at the bottom.

Mason C
Jul 24 '05 #3
Els
Mason A. Clark wrote:
On Fri, 08 Jul 2005 07:51:27 GMT, Mason A. Clark <ma*************@ix.netcom.com>
wrote:
LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.


I'm required to admit:

After *many* tests of the above on a particular (valid) web page of
mine I tried to make a bare-bones simple demo page (in response to
a claim by Els) and Opera finds <a name etc...></a> with no content.

I resign. No, I'll post the actual problem. A validated page:

http://masonc.home.netcom.com/1template-1.html

Opera will not return to the top -- look for the link at the bottom.


Yup, noted.

I don't know the cause of it exactly, I just tested some stuff myself,
and found for instance IE not wanting to go to the bottom of the page
(<a name="bottom" id="bottom></a>), unless I put content in, or
changed the <a> to a <br> (!), or made sure there was some other
element between that anchor and a previous link.

Still testing to find out what exactly was the cause, will post here
if I find it.

Some time ago I already found that some browser(s) (forgot which one)
don't go to anchors that are in double use. I had tried something like
<a href="#content" name="top" id="top">skip to content</a>, and it
just didn't work as an anchor.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Status Quo - Roadhouse Medley (Radio Edit)
Jul 24 '05 #4
Els
Els wrote:
Mason A. Clark wrote:
On Fri, 08 Jul 2005 07:51:27 GMT, Mason A. Clark <ma*************@ix.netcom.com>
wrote:
LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.


I'm required to admit:

After *many* tests of the above on a particular (valid) web page of
mine I tried to make a bare-bones simple demo page (in response to
a claim by Els) and Opera finds <a name etc...></a> with no content.

I resign. No, I'll post the actual problem. A validated page:

http://masonc.home.netcom.com/1template-1.html

Opera will not return to the top -- look for the link at the bottom.


Yup, noted.

I don't know the cause of it exactly,


I found it now though.
It's because of the item right below it has position:fixed.
If you take out position:fixed, the link works.
I reckon that since that div#topbar is fixed at the top of the window,
Opera reckons that you can't go any higher than that.

And apparently, Opera only recognizes the anchor to be in the actual
place in the body, when there's something in it. IMO that's a bug in
Opera.

If you take <a name="top" id="top"></a> and put it in the first cell
of the table, the link works. Obviously the page then doesn't go to
the actual top of the document though. If you link to the id of the
body element, it works too, but that would mean you'd have to change
the back to top link for every page to be in accordance with the body
id of that page, and that it wouldn't work in some really old browsers
which need "name" instead of "id".

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Deep Purple - Child In Time
Jul 24 '05 #5
"Mason A. Clark" wrote:

LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.


I can verify in Mozilla (upon which Firefox is based) that
selecting a link with a name will result in positioning at the top
of the page if no anchor for that name exists. The name does not
have to be "top". This is a common error when manually composing
HTML, usually resulting from either a typo in the name or failing
to provide the target anchor. When testing the links on a page,
the error is readily detected by the fact that the resulting page
is indeed positioned at the top.

Using a link checker, your case #1 will be flagged as an error.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Jul 24 '05 #6
On Fri, 08 Jul 2005 11:08:53 -0700, David Ross <no****@nowhere.not> wrote:
"Mason A. Clark" wrote:

LAST WORD(s):

1. MSIE6 and Firefox will go to the top of the page on
command <a href="#top">go upsy</a> even if
there is NO name="top" or id="top"

They know what a "top" is :-)

Opera does not.

2. None go to the top or anywhere just for <a href="#foo">
with no "foo" target (unless "foo" is "top").

3. Opera will not find <a name="foo"></a> or any other
name if there is no content in <a></a>

4. MSIE6 and Firefox do not require that content.

5. id="foo" is equivalent to name="foo"

6. In this business don't believe anything. test test test
(note: when testing clear the caches)

Mason C If no questions, class is excused.
I can verify in Mozilla (upon which Firefox is based) that
selecting a link with a name will result in positioning at the top
of the page if no anchor for that name exists. The name does not
have to be "top".

My repeated testing in up-to-date versions of IE6, Firefox, and Opera
tells me that the <href="top" name *must* be "top" for IE6 and
Firefox to go to the top where there's no <a name="top"> up there.

They understand "top". Opera does not. Perhaps older versions differ?

Mason C

P.S. This has been educational, thanks, but I'm dropping out of school now.
This is a common error when manually composing
HTML, usually resulting from either a typo in the name or failing
to provide the target anchor. When testing the links on a page,
the error is readily detected by the fact that the resulting page
is indeed positioned at the top.

Using a link checker, your case #1 will be flagged as an error.


Jul 24 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kai Grossjohann | last post by:
The following HTML file invoker.html creates a modal dialog: <html><head> <script language="JavaScript"> function popup() { window.showModalDialog("main.html", null,...
2
by: Shaun | last post by:
Hello! I have a quick question regarding CSS and having it applied to all elements. I am trying to eliminate the gap between a paragraph and a list that usually occurs in html and I've found...
19
by: Mason A. Clark | last post by:
How was I to know that "top" means "top" in MSIE6 ?? I was testing <a name="top"></a> at the top of the page with <a href="#top>go to top</a> at the bottom of the page. It always worked in...
16
by: Gufus | last post by:
Hi Group... <a name="#top"></a> ----del---- ----del---- <img SRC="images/top.gif" USEMAP="#top" BORDER=0> <map NAME="top">
4
by: Don Wash | last post by:
Hi All! I'm getting the following Error: No DLLs has been compiled yet and nothing in the \bin directory. So it is not the versioning problem or anything like that. And here are the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.