Icon beside the website address

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Sep 2007
Posts: 73
Reputation: ebabes is an unknown quantity at this point 
Solved Threads: 0
ebabes's Avatar
ebabes ebabes is offline Offline
Junior Poster in Training

Icon beside the website address

 
0
  #1
Feb 22nd, 2008
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?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Icon beside the website address

 
0
  #2
Feb 22nd, 2008
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" />
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 73
Reputation: ebabes is an unknown quantity at this point 
Solved Threads: 0
ebabes's Avatar
ebabes ebabes is offline Offline
Junior Poster in Training

Re: Icon beside the website address

 
0
  #3
Feb 25th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Icon beside the website address

 
0
  #4
Feb 25th, 2008
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.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: Icon beside the website address

 
0
  #5
Feb 25th, 2008
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.
Last edited by SheSaidImaPregy; Feb 25th, 2008 at 6:43 pm.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 73
Reputation: ebabes is an unknown quantity at this point 
Solved Threads: 0
ebabes's Avatar
ebabes ebabes is offline Offline
Junior Poster in Training

Re: Icon beside the website address

 
0
  #6
Feb 26th, 2008
Thanks to all. The code is now working. It happened that there was a delay in the server where I uploaded my site.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC