user1876234
user1876234

Reputation: 857

Rule for IE. Not working in IE 10

I specified a rule for all IE versios, but its not working for some reason.

<!--[if IE]>
<style type="text/css">
#topmenu LI.fisrt {
    padding: 5px 5px !important;
    font: 13px/43px sans-serif !important;
    text-transform: uppercase;
}
</style>
<![endif]-->

Upvotes: 2

Views: 736

Answers (1)

James Allardice
James Allardice

Reputation: 166021

From MSDN:

Support for conditional comments has been removed in Internet Explorer 10 standards and quirks modes for improved interoperability and compliance with HTML5

The idea is that IE10 has much better standards support than older IE versions and there should no longer be any need to conditionally target it.

Upvotes: 3

Related Questions