CSS, Internet Explorer and the magic !ie

css, internet-explorer

Solution

Internet Explorer 7 and below have a few quirks related to the !important declaration, which is supposed to give a value higher importance than normal.[3] IE7 and earlier accept virtually any string in place of important and process the value normally, while other browsers will ignore it.

Taken from !Important Quirks section in CSS Filter - Wikipedia

Problem

I came across this strange bit of CSS tonight... ``` display: inline !ie; ``` Now I've created and seen a lot of CSS and I have never seen this before or its magical powers. You can add "!ie" at the end of any rule and it will only be applied by M$ Internet Explorer 6 & 7 Can anyone shed any light on this WTF?

Original source