|
Posted by Doug Laidlaw on June 28, 2005, 11:21 pm
Please log in for more thread options
David Ross wrote:
> Doug Laidlaw wrote:
>>
>> I would assume that favicon.ico should reside in the same directory as
>> the
>> page it is associated with. In one of my programs, it seems to be in the
>> associate images/ directory and doesn't show.
>>
>> Am I right?
>
> I use five different icons, none of which are named favicon.ico. I
> have three of them in the home directory of my Web site. The other
> two are in subdirectories because they are used only by the pages
> in those subdirectories.
>
> To use an icon, I put the following in the <HEAD> section of a Web
> page:
> <link rel="shortcut icon" href="name.ICO" type="image/x-icon">
> <link rel="icon" href="name.ICO" type="image/x-icon">
> where "name" is the name of the icon file. Of course, if a Web
> page in a subdirectory is using an icon in my home directory, then
> these become
> <link rel="shortcut icon" href="../name.ICO"
> type="image/x-icon">
> <link rel="icon" href="../name.ICO" type="image/x-icon">
>
> I know this works with Mozilla and Firefox. Since I never use IE,
> I don't know if the icons display with that browser.
>
Thanks David. That seems to be the most flexible scheme.
Doug.
--
ICQ Number 178748389. Registered Linux User No. 277548.
You cannot shake hands with a clenched fist.
- Indira Gandhi.
|