You are here: Re: #top anchor doesn't work in FF « HTML « IT news, forums, messages
Re: #top anchor doesn't work in FF

Posted by Bernhard Sturm on 10/31/07 15:34

Jonathan N. Little wrote:
> sturm wrote:
>> Jonathan N. Little wrote:
>>>
>>> <!-- REMOVE: <div id="top"><a name="top"></a></div> -->
>>>
>
> See I show it *all* commented out
>

yes... but if there's no anchor for #top what will the UA do? According
to the HTML-specs this is not defined. Only IE interprets a <a
href="#top">Top</a> as a pointer to the top of the page, all others UA I
tested do ignore it if the appropriate anchor is missing.

>>>
>>> And either change following DIV's to "top" or change your "to top"
>>> links' hrefs to "#accessibility".
>>>
>>
>> But then they wouldn't be working as #accessibility is not designed to
>> be shown on a visual UA.
>
> Then pick something at the top of the page that *is* shown on the visual
> UA:
>
> <div id="outer">
> ...
>
which would then irritate text only UA users, as they are no longer
taken to the top of their page, which is at #accessibility :-) sometimes
one has to trade off things...

but thanks for your suggestions
bernhard

--
www.daszeichen.ch
remove nixspam to reply

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация