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

Your name:

Reply:


Posted by dorayme on 10/31/07 21:00

In article <4728df2e$1_3@news.bluewin.ch>,
Bernhard Sturm <sturmnixspam@datacomm.ch> wrote:

> Bernhard Sturm wrote:
> > Jonathan N. Little wrote:
> >>
> >>
> >> <body id="top">
> >> <div id="accessibility"> ...
> >
> > but that again would not validate as it is not allowed to have an inline
> > element without a block element.
>
> ahh forget my comment. Of course you are right :-) does that work with
> all browser? id as an anchor?
>
> bernhard

id works well enough in all modern browsers to identify a page
point. That does not mean all modern browsers do exactly the same
thing. Make yourself a test page and try it in different browsers
when the ids are in different positions. My rough impression is
that if the link is anywhere but in the bottom "less than a
browser-height-worth" of a page, clicking it will bring the id
point to the top. A good place to put such ids are in headings.
The found point then look natural.

(iCab has the clever little enhancement of briefly flashing a
subdued elegantly colour horizontal gradient background to the
point concerned - which is helpful when the point is not at the
very top of the browser window)

--
dorayme

[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

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