Re: #top anchor doesn't work in FF
- From: Bernhard Sturm <sturmnixspam@xxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 20:32:23 +0100
Jonathan N. Little wrote:
But <div id="outer"> *is* at the top of your page! So a link:
<a href="#outer">To the top</a> would take them to the top of the page. There is nothing magical about the name "top", just it's location...
I can see what you mean and I understand you perfectly :-)... but my point is:
div id="outer" is *not* at the top of my page (from a visual UA only standpoint it is, but you have to think at screen reader UAs). Look at the source:
<body>
<div id="accessibility>
</div>
<div id="outer">
....
The top anchor needs to be _before_ the accessibility div but _not_ within the accessibility div... that's why there is a *superfluous* empty div (as you put it) :-)
So my working structure is now:
<body>
<div><a name="top" id="top"></a></div>
<div id="accessibility">
</div>
<div id="outer">
I do admit: it looks awkward, but it serves its purpose...
cheers
bernhard
--
www.daszeichen.ch
remove nixspam to reply
.
- Follow-Ups:
- Re: #top anchor doesn't work in FF
- From: Jonathan N. Little
- Re: #top anchor doesn't work in FF
- References:
- #top anchor doesn't work in FF
- From: Bernhard Sturm
- Re: #top anchor doesn't work in FF
- From: Harlan Messinger
- Re: #top anchor doesn't work in FF
- From: Jonathan N. Little
- Re: #top anchor doesn't work in FF
- From: sturm
- Re: #top anchor doesn't work in FF
- From: Jonathan N. Little
- Re: #top anchor doesn't work in FF
- From: Bernhard Sturm
- Re: #top anchor doesn't work in FF
- From: Jonathan N. Little
- #top anchor doesn't work in FF
- Prev by Date: Re: #top anchor doesn't work in FF
- Next by Date: Re: web and graphic designer looking for freelance work
- Previous by thread: Re: #top anchor doesn't work in FF
- Next by thread: Re: #top anchor doesn't work in FF
- Index(es):
Relevant Pages
|