Moon wrote:
>
>Guy Macon <http://www.GuyMacon.co m/schrieb:
>
>
>Of course that covers all possibilities, I just wanted to know if
>current browsers had adjusted to a more standard behaviour. After
>all, relative paths rule ;)
>Guy Macon <http://www.GuyMacon.co m/schrieb:
>
>Go ahead an reference the favicon in your meta tags with a relative
>link to your image directory. Then, to accommodate any browsers that
>simply look in the root, put a copy of your favicon there as well
>with nothing in your meta tags referencing it. That should handle
>all cases.
>link to your image directory. Then, to accommodate any browsers that
>simply look in the root, put a copy of your favicon there as well
>with nothing in your meta tags referencing it. That should handle
>all cases.
>Of course that covers all possibilities, I just wanted to know if
>current browsers had adjusted to a more standard behaviour. After
>all, relative paths rule ;)
It is a question of following the paths (relative or full URL) in
your meta tags vs. not reading the meta tags at all and just looking
for the favicon in the root.
The standard behaviour is defined here:
[ http://www.w3.org/2005/10/howto-favicon ]
(The examples have full URLs but of course relative URLs
are fine as well.)
Alas, the status of that Document is "Draft in development;
may change radically at any time."
Favicons are small, and it is likely that you already have a
robots.txt file in the root, so one more file isn't that
difficult to deal with. My recommendation is to use both of
the methods described in [ http://www.w3.org/2005/10/howto-favicon ].
Or, to put it another way, go ahead an reference the favicon in
your meta tags with a relative link to your image directory.
Then, to accommodate any browsers that simply look in the root,
put a copy of your favicon there as well with nothing in your
meta tags referencing it.
For those of us who are standards geeks, here are some references:
http://www.w3.org/2003/02/24-tag-summary (Go to section 2.1)
http://lists.w3.org/Archives/Public/...6Apr/0245.html (Go to "Known locations don't work")
--
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>
Guy Macon <http://www.GuyMacon.co m/Guy Macon <http://www.GuyMacon.co m/>