What is the scope of the * CSS hack?

I was looking for a hack to solve the CSS problem that I have. I used it to create a custom rule for Internet Explorer.

margin-top:45px;
*margin-top:0px;

Is this hack used for all IE browsers? Does this hack appear in any version of Firefox or Safari?

+5
source share
1 answer

This applies to IE7 and below. But keep in mind that this is invalid CSS and it can break at any time. See here for a more complete list of the various CSS hackers and the browsers they affect.

Internet Explorer 7 , , - , IE6. , -- , (*) , IE, . , CSS , CSS.

, , , .

+9