Question

I am using <iframe> in my index.html page. But its replacing the original favicon of my index.html page with blank.

Unable to see the favicon for index.html

If am commenting the tag its working fine in IE9.

<html>
<head>
<title>Some Title</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>

<body>
 <iframe src="http://somesite.com/"></iframe> <!-- Not Working Unable to see favicon -->

 <!-- <iframe src="http://somesite.com/"></iframe> -->    <!-- Working I can see favicon -->
</body>
</html>

Thanks in advance for your answers!!!

No correct solution

OTHER TIPS

Found in IE if we are pointing to a URL in IFRAME and its response status is not 200 then It will replace the favicon.

so make sure you must have some valid response from iframe URL.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top