[英]Symfony2 favicon does not show for IE9
We are leading with a issue with favicon on Symfony2, It's no being showed on IE9. 我们正在用Symfony2上的favicon进行处理,这在IE9上没有显示。 Here the code we're using:
这是我们正在使用的代码:
<!-- Favicon-->
<link rel="apple-touch-icon" href="{{ asset('images/favicon.png') }}">
<link rel="icon" href="{{ asset('images/favicon.png') }}">
<!--[if IE]><link rel="shortcut icon" href="{{ asset('images/favicon.ico') }}"><![endif]-->
the rest of browsers is showing it, but not for IE any hint? 其余的浏览器都在显示它,但是对于IE没有任何提示吗? Thanks in advance
提前致谢
IE仅在根目录中支持favicon。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.