|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
show icon in address box of firefox browser
Hello, I've been wondering for a while how to get the code that lets a particular icon be displayed in the address box(Navigation toolbar) of the firefox browser. I should be very grateful if someone can show me how. Thanks in advance.
|
|
#2
|
||||
|
||||
|
Put an icon file (.ico) in the root of your webdirectory, and call it favicon.ico.
Some browsers will automatically load it, but the savest way is to add this line to the <head> of your HTML file: Code:
<link rel="shortcut icon" href="favicon.ico" /> You can use this site to create a .ico file from a small image you have (such as jpeg, png, gif). Good luck
__________________
This is my code. Is it not nifty? "The biggest problem encountered while trying to design a system that was completely foolproof, was, that people tended to underestimate the ingenuity of complete fools." ---Douglas Adams Join the Itsacon fanclub! Zero Tolerance: Spammers banned so far: 264
![]() |
|
#3
|
|||
|
|||
|
Thanks Itsacon. Tried it and it worked. mucho gracias once again.
![]() |
|
#4
|
||||
|
||||
|
You're welcome.
|
|
#5
|
||||
|
||||
|
favicon.ico is the default value... I think if you didn't put that line in your HTML it may still work.
Before I explicitly set an icon, my apache logs were littered with "Unable to find favicon.ico" |
|
#6
|
||||
|
||||
|
Yeah, I get that too, but just to be sure, it's better to include that line.
Actually, using the link tag, it's also possible to use other file formats (png, jpg, gif) as icons. |
|
#7
|
||||
|
||||
|
RSS feed favicon
A bit off-topic, but does anyone know how to get the favicon to show in the RSS feed (like the Dev "orange dot spiral")
|
|
#8
|
||||
|
||||
|
I don't think it's possible to explicitly declare one.
I think with an RSS feed, Firefox will try the default one (as mentioned above). |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > show icon in address box of firefox browser |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|