| | |
Short Cut Icon
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Try
<link rel="shortcut icon" Type="image/x-icon" href="http://www.mysite.com/images/myicon.ico"> IE can be picky Last edited by almostbob; Jan 19th, 2009 at 6:35 am.
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Hi All,
I want a shortcut icon for my website. I did but its coming only mozilla its not coming ie i don't know wants wrong in my code. My code is
<link rel="SHORTCUT ICON" href="images/myicon.ico" />
Thanks in advance
Kavikesav...
I think you have to complete your code with :
type="image/x-icon"
and also, put the file "myicon.ico" at the root of your site and not in the images folder.
<link rel="shortcut icon" type="image/x-icon" href="images/myicon.ico"/>
Good luck.
Jocelyn
•
•
Join Date: Sep 2008
Posts: 5
Reputation:
Solved Threads: 0
What doctype are you using?
<link rel="shortcut icon" href="images/youriconname.ico" />
will work in both ie and ff if you are using xhtml 1.0 T
you might also try:
<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" /> and put the favicon directly in the public_html folder and not in a subfolder.
<link rel="shortcut icon" href="images/youriconname.ico" />
will work in both ie and ff if you are using xhtml 1.0 T
you might also try:
<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" /> and put the favicon directly in the public_html folder and not in a subfolder.
Last edited by Exciting Sales; Jan 24th, 2009 at 6:00 am.
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
I made a mistake in my previous reply in the html code. Sorry.
I said you have to put the "Icon.ico" at the root of your website. It's true but I don't give you the correct html code.
You have to write
<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" />
I said you have to put the "Icon.ico" at the root of your website. It's true but I don't give you the correct html code.
You have to write
<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" />
Another way to call your icon, implemented in W3C standards:
html Syntax (Toggle Plain Text)
<head profile="http://www.w3.org/2005/10/profile"> <!-- Must be implemented if you are using any icon inside your (x)HTML document. --> <title>Your Site</title> <link rel="icon" type="image/ico" href="pathToIcon/yourfavicon.ico" />
![]() |
Similar Threads
- Short Cut Icon (HTML and CSS)
- open with (Windows Vista and Windows 7)
- Messed up my connection settings on laptop please help (Networking Hardware Configuration)
- Desktop Short Cut (VB.NET)
- vb program on network (Visual Basic 4 / 5 / 6)
Other Threads in the HTML and CSS Forum
- Previous Thread: Positioning Text and Links
- Next Thread: creating menu and submenu
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






