Date: Wed, 04 Nov 2009 23:12:05 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: "Simon L. Nielsen" <simon@freebsd.org> Cc: doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: www/en where.sgml Message-ID: <874opadmfu.fsf@kobe.laptop> In-Reply-To: <20091104203116.GA1341@arthur.nitro.dk> (Simon L. Nielsen's message of "Wed, 4 Nov 2009 21:31:17 %2B0100") References: <200911020053.nA20rDBO051559@repoman.freebsd.org> <20091104203116.GA1341@arthur.nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Nov 2009 21:31:17 +0100, "Simon L. Nielsen" <simon@FreeBSD.org> wrote: > On 2009.11.02 00:53:13 +0000, Giorgos Keramidas wrote: >> keramida 2009-11-02 00:53:13 UTC >> >> FreeBSD doc repository >> >> Modified files: >> en where.sgml >> Log: >> Add a #download link target to the appropriate section >> >> This way we can link directly to the download section of the page >> from other places (or post the link to emails, help answers, etc.) > > Was there a good reason to use those "empty" <a> tags compared to just > use id attributed on the header tags? (There might very well be, I > simply can't remember, othar than remebering seeing those <a> tags > here and there in FreeBSD docs but never using it like that anywhere > else...) I am not sure. At first I thought that it was a workaround for browsers who scroll too aggressively when <h1 id="foo">, showing half of the title text. But a small test with a manually patched html file shows that Firefox 3.5 handles the id/name attributes correctly, showing the full text height of the <h1> element: http://people.freebsd.org/~keramida/link-id.png I remember seeing browsers that do slide forward a bit too far, showing only parts of the <h1 id="foo" name="foo"> text. But this may be a browser bug that has been fixed a long time ago.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874opadmfu.fsf>