favicon

can't use favicon and style sheet at the same time, they break eachother

馋奶兔 提交于 2019-12-26 05:39:10
问题 here is my problem: I have these 2 tags in my header but they are fighting each other. If I put the rel tag for the shortcut icon below the rel tag for the style sheet (because it is parsed after) my stylesheet breaks and does not display but the icon is there. If I leave it as is the icon does not display. I am obviously doing something wrong but I can't figure it out. Thanks in advance for the help 回答1: <link rel="shortcut icon" href="tophat2.ico"> <link rel="stylesheet" type="text/css"

Why is favicon not visible

帅比萌擦擦* 提交于 2019-12-25 05:16:18
问题 I have a script which allows to display favicons based on the url: Example If you look at the example you will see two links, one linking to Google and the other to a popular dutch news website. As you can see the Google favicon is retrieved by the script while the other is not. How is this possible? What is causing this? If I go to the website I can see they do have a favicon. What can I change in the code to retrieve this favicon? 回答1: Because favicon for nu.nl is stored under http://www.nu

Adding favicons with generic option

徘徊边缘 提交于 2019-12-25 03:47:16
问题 I'd like to add favicons to my site using favicon.ico. however I want to load a generic icon if the site does not provide one. How can I test for the presense of a favicon and if one is not present manipulate the DOM to point to a generic favicon on the server. 回答1: You could use some JavaScript. Adapt to suit... var img = document.getElementsByTagName('img')[0], favicon = new Image; favicon.onerror = function() { img.src = 'http://some-other-url.com/favicon.ico'; } favicon.src = 'http:/

Why isn't my favicon working? [closed]

妖精的绣舞 提交于 2019-12-25 00:16:35
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 years ago . Now I know there are a lot of similar questions around SO but I think I've covered all the basics. Here's what I know: My favicon is accessible through /favicon.ico (full link) The HTML is (page URL): <link rel="icon" href="http://www.bandcmotors.co.uk/favicon.ico" type="image/x-icon" /> <link rel="shortcut

fav icon does not work in html5 Boilerplate

孤者浪人 提交于 2019-12-24 11:31:17
问题 the fav icon in html5 Boilerplate doesn't work (doesn't show up) I have tried it on localhost and also on a server but in both the cases it didn't worked. Whats the to make it work .? 回答1: HTML5 Boilerplate doesn't use link elements for icons by default. Instead, it relies on the browser finding either favicon.ico or apple-touch-icon.png in the root directory. If you put HTML5 Boilerplate in a sub-directory, whether in localhost or on a server, either no favicon will appear or an existing

Favicon.ico on multi-domain sites?

馋奶兔 提交于 2019-12-24 10:39:43
问题 We’re using add-on domains for our multi-site Magento setup running off one skin file on domain1.com and was wondering how we go about setting up a favicon for each store? We will have a total of 10 domains by the time we finish setting up this project so obviously want 10 different favicon’s. I’ve tried this - http://vanesz.awardspace.info/magento_favicon_tweak/ Which works in some respect and show’s the relevant icon on things like google webmaster tools but it doesn’t work as a bookmark

Bookmark Icon for a website

倖福魔咒の 提交于 2019-12-24 04:59:30
问题 I do have a Favicon on my website, and it shows up on the address bar. But I was curious how to get these big icons when you bookmark a page. Is a different thing or did I do the favicon wrong? As you can see, Behance, LinkedIn, and others have a big icon when bookmarked and my website on the left has none. <link rel="icon" href="icons/favicon.ico"> 回答1: You need different icons: Safari on Mac OS Yosemite (apparently, what you are using): it takes the Apple Touch icon. At least, make sure to

在浏览器的标签页显示网站标志图标(或指定图标)的方法

限于喜欢 提交于 2019-12-24 00:07:27
对于不同的浏览器,方法是有差别的 1.对于IE或TT浏览器:把需要显示的16x16像素的ICO图标命名为favicon.ICO放置在网站根目录下,浏览器会自动检索 2.这大概是所有浏览器通用的在标签页加入指定图标的方法: 把favicon.ico图标放到网站根目录下,在网页的<head></head>中加入 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 3.对于火狐浏览器:图标格式没有IE那么严格,GIF和PNG格式的图标也可以显示,图标名称也可以不是favcion 4.把图标放在根目录后,在<head></head>中加入 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="gif_favicon.gif" type="image/gif" > 或 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="png_favicon.png" type=" image/png" > 5.最后,ICO格式的图片可以通过MagicICO这个小软件制作

Need to remove Oracle Favicon

喜你入骨 提交于 2019-12-24 00:06:59
问题 It seems that Oracle favicon is set to my web server as default. I know how to change favicon in html like this : <link rel="shortcut icon" type="image/x-icon" href="/img/common/myFavicon.ico"> but I need to remove this setting(No default favicon) on server side. Where can I set this? There are many sites running on this web server, so I want to make every sites changed at once. The web server's OS is AIX 5L V5.3 and iPlanet 7.0 回答1: The favicon should be present at $oracle_home\Apache\Apache