Conditional Style Sheets in IE9

后端 未结 2 1645
深忆病人
深忆病人 2021-01-04 10:58

IE9 is supposed to support conditional comments. I have the correct MIME type: \'type=\"text/css\"\'. All of the other conditional style sheets are being read into the corre

2条回答
  •  醉梦人生
    2021-01-04 11:20

    Sorry for the dumb questions but, have you cleared the cache and tested (try setting some border-color or something)? Is the css file path correct and accessible through your http server (try opening it with your browser and testing if it works without the conditional statement)? Another thing, I would go with gte (greater than or equals).

    
    

    Also check it there is none X-UA-Compatible meta tags around doing their usual monkey business (Nothing to do with conditional statements, but seems to be the root of many evils lately).

提交回复
热议问题