Click here to get back home

Newbie question: favicon.ico

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Newbie question: favicon.ico Doug Laidlaw 06-28-2005
Posted by Doug Laidlaw on June 28, 2005, 12:22 pm
Please log in for more thread options


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?

Doug.
--
ICQ Number 178748389. Registered Linux User No. 277548.
Love, even the love of God, is only mediated through persons.
- Leslie Weatherhead.


Posted by David Ross on June 27, 2005, 9:08 pm
Please log in for more thread options


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.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.

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.


Posted by Blinky the Shark on June 28, 2005, 3:18 am
Please log in for more thread options


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?

Mine are in the root directory (for the sites).

--
Blinky Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info: http://blinkynet.net/comp/uip5.html
*ALSO contains links for access to the NON-BETA GG archive interface*

Posted by Doug Laidlaw on June 28, 2005, 11:19 pm
Please log in for more thread options


Blinky the Shark 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?
>
> Mine are in the root directory (for the sites).
>

Hi Blinky.

Thanks to all.

Doug.
--
ICQ Number 178748389. Registered Linux User No. 277548.
Remember that happiness is a way of travel - not a destination.
- Roy M. Goodman.


Similar ThreadsPosted
Favicon question December 28, 2004, 9:37 pm
newbie question August 14, 2005, 5:51 pm
newbie frame question December 19, 2004, 9:58 pm
A newbie question about NVU (templates) May 25, 2007, 12:29 pm
Newbie Text Wrap Question October 6, 2005, 3:29 am
Stupid Newbie question Mozilla vs. IE May 20, 2005, 9:55 am
document.getElementById newbie question May 9, 2008, 1:50 pm
Newbie question: css layout with 3 columns (left align, use all remaining space, right align) March 29, 2006, 10:36 pm
favicon March 25, 2006, 4:54 am
favicon doesn't work in IE6 October 8, 2006, 11:48 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap