I am just wondering how would l go about Adding my logo next to the URL address in the address bar. Just like vbforums.com has the VB with the blue background.
Can some one provide me with info on how to do this?
Thanks to all that reply.
Printable View
I am just wondering how would l go about Adding my logo next to the URL address in the address bar. Just like vbforums.com has the VB with the blue background.
Can some one provide me with info on how to do this?
Thanks to all that reply.
I'm afraid I'm not an expert, but I know that it is known as a favicon.
After a quick search.. apparently you just need to create an icon in the root of your site, and call it favicon.ico
Not entirely. Add favicon.ico to your root, then add this to the head section:
<link rel="SHORTCUT ICON" href="/favicon.ico">
I have created the graphic, and managed to get it up there, it was a lot easier than I thought. But I did manage to run into a problem. On the page that I have this little icon, I have a frame, and when I click on something on the navigation bar, it loads in the frame that, but when something changes in the frame the favicon disappears. I have put
<link rel="SHORTCUT ICON" href="/favicon.ico"> on every page and still no favicon after the initial load.
Does anyone have any ideas on what could be causing this? What is a solution to it?
Maybe that is what you did wrong. You loaded <link rel="SHORTCUT ICON" href="/favicon.ico"> into every page.
Try removing them from the pages that load into the frame and put the <LINK> tag only in the mother page.
If you are using frames then the link tag should be in the frameset page, also, the code is slightly wrong, it should be
Also, if you can, use a PNG or some other proper web format instead of an ICO.HTML Code:<link rel="shortcut icon" type="image/ico" href="favicon.ico">
I have changed my code to the following
<link rel="shortcut icon" type="image/ico" href="favicon.ico"> and I am still having a problem. Same problem as before when I click on a link to load something new in the frame it looses the image. Also when I switch inbetween tabs it looses the image also.
It works fine in Opera. Does Firefox not like the frames that I am using?
As long as you have the link tag in the frameset document that is the icon that will be used. Not any icon from the frames.
Example frameset document:
HTML Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html lang="en">
<head>
<title>Frameset favicon test</title>
<link rel="icon" type="image/png" href="favicon.png">
</head>
<frameset cols="250, *">
<frame src="frame1.html">
<frame src="frame2.html">
</frameset>
</html>