473,791 Members | 3,360 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

favicon.ico and long pathnames

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 files as they seem to be quite hit and
miss as to whether or not they appear

Ta
F
Nov 18 '05 #1
2 1546
You can certainly use a favicon file. For instructions on using it in a web
site, see http://www.favicon.com/.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

<fo******@yahoo .co.uk> wrote in message
news:ac******** *************** ***@posting.goo gle.com...
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 files as they seem to be quite hit and
miss as to whether or not they appear

Ta
F

Nov 18 '05 #2
> You can certainly use a favicon file. For instructions on using it in a web
site, see http://www.favicon.com/.


sorry, can't find the answer on there
If I have a website with a url like
http://localhost/MyWebPage/SomeDirectory/startPage.aspx


So the question is, given a url that starts not with www.mypage.com but
with local/MyWebPage and using IIS can I do it then.

NB, I know I can add it to the individual page but from that page can I then
access the root of the web site, e.g. something like:

~/MyWebPage/pictures/favicon.ico

My problem being that I use a template for each page so rather than adding
the link on every single page which would be tedious I want to add
it to a generic page thats included on other pages which could be anywhere
in the relative directory structure.
Nov 18 '05 #3

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

Similar topics

2
14170
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 Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
4
2544
by: Lars Behrens | last post by:
Hi, Pythonistas! I'm quite new to Python and have a problem with a simple backup script. This code: tar = tarfile.open('/home/lars/test.tar.gz', 'w:gz') tar.addfile('/home/lars') brings up the following error message:
7
5025
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 in the index.htm (top-frame) enough. I'm asking this question because I had a reference in my top-frame only, wich seemed to work OK (the favicon showd in the adress-bar in all frames), but all of a sudden the favicon won't show anymore in the
1
2186
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 the document header section. The icon appears fine in FireFox's address bar, but refuses to show up in the notebook tab. The notebook continues to show the "blank document" generic icon. What am I doing wrong and how can I fix this?
4
2959
by: Chameleon | last post by:
the extension of favicon MUST BE ico? what if I use a 16x16 favicon.png?
15
2914
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, but no luck: <link rel="shortcut icon" href="/favicon.ico" > <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> FWIW, it seems to render OK in IE v6.0. I haven't tried it in FFox 2.0 yet, but I'll need it to work there...
2
4211
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 File Cannot Be Found error. I've copied the pixels from the file and pasted them into a favicon that is working and showing up, renamed it by just adding a number to the end, and still it won't show up, either as an .ico or a .gif. So I've...
4
3054
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 .ICO favicons, whereas other browsers support any favicon type - gif, png, jpg. Since gif favicons has much better quality than ico file, I'm wondering does it possible sort browsers with javascript and show appropriate favicon type for...
19
678
by: Moon | last post by:
Bergamot wrote in <6i534eFolqk5U1@mid.individual.net>: Done! http://moon.descentforum.net/creep/ with 2 issues though: I liked the funtionality of target="_blank", so people that are unaware of
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.