1

In Internet Explorer some elements don't work: Chat, Contact, Tutorial, Survey. These elements work in Firefox and Chrome. http://hotelpedia.si is the website. I have this code in the footer. I don't understand why this would cause some elements not to load in Internet Explorer.

{if $is_ie_browser}
<!--[if lt IE 9]><link rel="stylesheet" href="{$smarty.const.DOMAIN}/css/ie.css" type="text/css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="{$smarty.const.DOMAIN}/css/ie_7.css" type="text/css" /><![endif]-->
{/if}
{/if}
4

1 回答 1

0

您的代码检查 Internet Explorer 是否小于 Internet Explorer 9,如果是,则显示一个 CSS。否则,如果 Internet Explorer 7 则使用其他 CSS。如果您使用的是 Internet Explorer 10,那么您可能没有 CSS 页面(至少从我们在您发布的代码中可以看到。将第二行更改为“if lt IE10”或添加使用大于等于的行8“格特”

于 2013-08-01T21:19:06.277 回答