logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-20-2015, 04:54 PM   #1
RedFinch
 
Join Date: Dec 2014
Posts: 10
Default Why is my icon for browser tab not showing up?

Not sure if this is the right forum for this question but here goes.

Hi, I want to make a favicon for my web page. I found a sample but it's not working for me. Can someone please help me get it to work. On the index page of the web site I put this in the <head> of the page.

<!--
<![if !IE>
<link rel="icon" href="http://mywebsiteurl/images/favicon.ico" type="image/x-icon" />
<![endif]>
<link rel="shortcut icon" href="http://mywebsiteurl/images/favicon.ico" type="image/ico" />
-->

Can I put this on specific pages that I want to display the favicon or does it have to be somewhere at the root of the site?

If you can think of any solution I would really appreciate it. Thanks
RedFinch is offline   Reply With Quote
Old 03-10-2015, 03:50 AM   #2
jmichae3
 
Join Date: Dec 2010
Posts: 366
Default

http://www.iana.org/assignments/medi...es.xhtml#image

those are the allowed image IANA MIME types.
mine work, but I do not specify a MIME type. the MIME type should probably be image/vnd.microsoft.icon since it is a standard microsoft icon (.ico) file format.

for one thing, in the case of IE if it makes any difference at all, you end up with 2 icon files in the case of the condition of IE being true (no else).
you should also know that IE conditional comments are no longer supported, as of IE10.
https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx
__________________
------------
Jim Michaels
HTML Code:
improperly<strong>nested<em>elements</strong>cause</em>
browser confusion (I believe the term is 'tag soup')!

Last edited by jmichae3; 03-10-2015 at 03:56 AM..
jmichae3 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com