Remember that...
<link rel="icon" href="images/favicon.ico"
type="image/ico" />
Is indeed a relative path. If you have any sort of nesting going on with
controllers and such (which is inherant with Rails), you will need to make
it:
<link rel="icon" href="/images/favicon.ico"
type="image/ico" />
An absolute path.
-Nb
On 3/17/06 2:54 AM, "Kaan Karaca" <email@derkaan.de> wrote:
> Hi,
>
> IE show the favicon only if you save the site in your favorites list.
>
> Cheers
> Kaan
> ###
> Hello All,
>
> I put favicon.ico under "public" folder. Also, I put a copy into
> "public/images". And I put these 2 lines in my layout file:
>
> <link rel="icon" href="images/favicon.ico"
type="image/ico" />
> <link rel="shortcut icon"
href="images/favicon.ico" type="image/ico"
> />
>
>
> It works fine in firefox1.5, but favicon.ico does not show in IE 6. It
> really a fussy problem and I''m confused :(
>
>
> Thanks very much in advance,
>
>
>> From Walls
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel S. H. Brown? ? ?? ??? ?? ?? ?? ?? ?http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sent using the Microsoft Entourage 2004 for Mac Test Drive.