![]() |
| ||
| Icon beside the website address I wish to put an image/icon beside the website address everytime a user visits my page. How can I do this in ASP.Net? |
| ||
| Re: Icon beside the website address Create an image with .ico extention(you can create this by using visualstudio). Add this to your masterpage <link rel="SHORTCUT ICON" href="images/favico.ico" /> |
| ||
| Re: Icon beside the website address What if I didn't make use of a master page, where will i put the code? I tried inserting it right after the title tag of my default.aspx (this is the only place where I had seen that the code link rel is accepted), yet no icon appeared on the left of my site address. I inserted a .ico file in the images directory anyway. |
| ||
| Re: Icon beside the website address i have tried it creating a new project and it worked without any problems. Is your default page in the root folder of your application? The href must be relative to your document. I can't think of any other problem for it not to work. |
| ||
| Re: Icon beside the website address You need to put the link in the <head>, just like style sheets. And make sure it is relative to your document. (It works outside of it, but this depends on which browsers and versions too). Internet explorer doesn't show icons very well. Preview it in Mozilla. With or without master pages, this only means that since you don't have one, you will need to place this <link...> within every single page, or an included header page. |
| ||
| Re: Icon beside the website address Thanks to all. The code is now working. It happened that there was a delay in the server where I uploaded my site. |
| All times are GMT -4. The time now is 7:50 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC