|
Posted by P.R.Brady on September 15, 2004, 3:19 pm
Please log in for more thread options
We have a number of pages on our site which use labels which I cannot
find defined (with for example <a name= > ) but which work perfectly
well. 'top' and 'side bar' in particular.
eg 'top' in
http://www.bangor.ac.uk/ced/studentguide.htm
Is it defined somewhere in the page, or is it pre-defined in html?
If pre-defined, is there a definitive list of them?
Regards
Phil
|
|
Posted by Harlan Messinger on September 15, 2004, 11:24 am
Please log in for more thread options
>We have a number of pages on our site which use labels which I cannot
>find defined (with for example <a name= > ) but which work perfectly
>well. 'top' and 'side bar' in particular.
>
>eg 'top' in
>http://www.bangor.ac.uk/ced/studentguide.htm >
>Is it defined somewhere in the page, or is it pre-defined in html?
>If pre-defined, is there a definitive list of them?
Your clue should lie in the realization that it's pretty far-fetched
to think that a browser would know, without being told, which part of
the page is the "side bar".
Some browsers will jump to the top of the page for *any* fragment
(fragment = the part of a URL to the right of the # sign) that isn't
defined on the page. "#top" has no intrinsic meaning; it could just as
easily be "#ashfdioasdhf".
You don't need <a name="..."> to create a proper target for a URL
fragment, however: the ID attribute on *any* element will serve the
same purpose in modern browsers.
--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ๔ter le premier point de mon adresse de courriel.
|
|
Posted by P.R.Brady on September 15, 2004, 4:50 pm
Please log in for more thread options P.R.Brady wrote:
> We have a number of pages on our site which use labels which I cannot
> find defined (with for example <a name= > ) but which work perfectly
> well. 'top' and 'side bar' in particular.
>
> eg 'top' in
> http://www.bangor.ac.uk/ced/studentguide.htm >
> Is it defined somewhere in the page, or is it pre-defined in html?
> If pre-defined, is there a definitive list of them?
>
> Regards
> Phil
>
Thanks for the prompt replies!
Phil
|
|
Posted by Rijk van Geijtenbeek on September 15, 2004, 5:28 pm
Please log in for more thread options
> We have a number of pages on our site which use labels which I cannot
> find defined (with for example <a name= > ) but which work perfectly
> well. 'top' and 'side bar' in particular.
>
> eg 'top' in
> http://www.bangor.ac.uk/ced/studentguide.htm
Some browsers go to the top of the page when use *any* fragment identifier
that is not specified in the page.
> Is it defined somewhere in the page, or is it pre-defined in html?
> If pre-defined, is there a definitive list of them?
Nope, this is either error-handling or browser-specific extensions.
--
Rijk van Geijtenbeek
The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen
|
| Similar Threads | Posted | | Tax pages | September 29, 2005, 11:59 am |
| Changing all pages at once? | July 23, 2004, 1:34 pm |
| Transitions Between Pages | January 24, 2005, 1:05 pm |
| lop-sided pages -- why? | April 8, 2005, 8:12 am |
| Panable pages | May 8, 2005, 6:23 pm |
| premature end to some pages.. | December 11, 2007, 10:19 pm |
| Redirecting pages | December 14, 2007, 4:00 am |
| generate pages | January 5, 2008, 10:33 am |
| Security of HTML pages | January 14, 2005, 11:38 am |
| How to HTML 150 pages of text | January 22, 2005, 7:17 pm |
|