2014-10-20 67 views
0

我無法得到這個爲我的生活工作。 我如何才能在Blogger模板中使用它?Blogger如果IE不能正常工作

+0

[http://stackoverflow.com/questions/7358716/ie-conditional-comments-need-解釋](http://stackoverflow.com/questions/7358716/ie-conditional-comments-need-explaination)和答案[http://stackoverflow.com/a/3958950/3105260](http://stackoverflow.com/a/3958950/3105260)ad [this](http://www.quirksmode.org/css/condcom.html)是另一個答案中建議的好肢體。 – iokanuon 2014-10-20 14:16:21

+0

@iokanuon你有Blogger上的博客嗎?因爲我已經試過這種方式,並沒有奏效。儘管如此,謝謝你的快速回應。 – 2014-10-20 14:22:56

回答

0

使用此代碼而不是上述,因爲它看起來<[if !IE]>在html中創建一個錯誤的意思。不過,我已經嘗試過在這之下,它爲我的作品:

<!--[if IE]> <script>這裏你的java腳本</script> <![endif]-->