472,961 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

favicon

the extension of favicon MUST BE ico?

what if I use a 16x16 favicon.png?
Mar 25 '06 #1
4 2921
Chameleon wrote:
the extension of favicon MUST BE ico?
what if I use a 16x16 favicon.png?


There are really two questions here:

(a) does the favicon have to be *named* "/favicon.ico"?; and
(b) does it have to be in Windows Icon format -- can it be in PNG?

A. No, it doesn't. But if you give it a different name, browsers won't
know where to look for it, so you'll have to provide a link to it in your
HTML files:

<link rel="shortcut icon"
href="/myfavicon.ico"
type="image/x-icon">

B. No, it doesn't. Some browsers support favicons in other image formats,
like PNG. However, Internet Explorer *only* supports Windows Icon format
for favicons.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Mar 25 '06 #2
Chameleon wrote:
the extension of favicon MUST BE ico?

what if I use a 16x16 favicon.png?


In general, a favicon must be an icon. That's why it's call a favICON.

Taking a file that is not an icon and changing the extension (e.g., your
favicon.png) to ico will not work. In this case, the file is still
formatted as PNG.

On the other hand, none of my favicons are named "favicon.ico". As
Inkster points out, the LINK element can be used to indicate which of
several icons to use. I use seven different icons, depending on the
topic of the Web page.

--

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

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Mar 25 '06 #3
all you need to do is upload the favicon.ico to your root directory.
you do not need to put a link tag in your source code. it works just
fine without it.

Mar 29 '06 #4
dw************@gmail.com wrote:
all you need to do is upload the favicon.ico to your root directory.
you do not need to put a link tag in your source code. it works just
fine without it.


That only works if (1) you have access to your root directory and (2)
the file is indeed named "favicon.ico". The latter is important if you
want to use different icons for different pages within the same Web
site. Since each icon file has its own unique name, you then need to
link to an icon file in each case that it's not "favicon.ico".

For a discussion of multiple icon files, see my
<http://www.rossde.com/internet/web_design.html>.

--

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

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Mar 31 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
7
by: Bart | last post by:
Hi there, If I use frames, should a reference to the favicon.ico (like: <link rel="shortcut icon" href="pictures/favicon.ico" type="image/x-icon">) be placed on _every page_, or is one reference...
1
by: Robert Oschler | last post by:
I have a 16 color 16 x 16 pixel icon (favicon.ico); 4-bit palette. I have put the icon in the root directory of my web site, and I have also added the <link rel="SHORTCUT ICON" ... /> HTML tag in...
2
by: foldface | last post by:
Hi If I have a website with a url like http://localhost/MyWebPage/SomeDirectory/startPage.aspx Can I still use a favicon.ico file? For the entire Site? How? Its hard to experiment with favicon...
15
by: BT | last post by:
I'm have a problem showing a favicon in ver 1.7.10. It shows up correctly in the address bar, but is missing from the tab. I've tried each of these HTML 'statements' to add the favicon to the page,...
2
by: alice | last post by:
I'm trying to create a favicon which I've done before, and it just won't show up. I've even saved the file as a gif and entered the URL of where the file is according to my FTP program, and I get a...
4
by: mistral | last post by:
Does it possible change favicon icon depending on browser type: display favicon.ico for Internet Explorer browsers, and favicon.gif for the rest browsers? Problem is that ugly MSIE can display only...
0
by: Gabriela | last post by:
Hi, I want to display favicon from different domains on my page. I wrote this line (domain is a variable): <span style="background-image:url('domain/favicon.ico');width:...
0
by: Guy Macon | last post by:
Moon wrote: It isn't a question of relative vs. full URL paths in your meta tags. It is a question of following the paths (relative or full URL) in your meta tags vs. not reading the meta tags...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.