Reply to Re: #top anchor doesn't work in FF

Your name:

Reply:


Posted by sturm on 10/31/07 14:33

Jonathan N. Little wrote:
> Harlan Messinger wrote:
>
>> The solution is to take the ID off the DIV and stick it in the anchor:
>>
>> <div><a id="top" name="top"></a></div>
>
> Or better yet delete the superfluous empty DIV and empty A and

The page will not validate if the <a id="top" name="top"></a> is not
nested within a div :-( I tried that already. Seems as HTML-strict will
not tolerate a structure like <body> -> <a>

>
> <!-- REMOVE: <div id="top"><a name="top"></a></div> -->
>
> <div id="accessibility"> ...
>
> 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.

cheers bernhard

--
www.daszeichen.ch
remove nixspam to reply

[Back to original 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

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