tags:

views:

50

answers:

3

Can anyone please tell me what does

*width:auto;

mean in css?

For example:

div.ReportingControls dd
{
    width:450px;
    *width:auto;
}

Thanks

+3  A: 

It's a CSS hack to target Internet Explorer 7 and below. And it's not recommended to use in the real world.

deceze
+3  A: 

This is a CSS hack for IE. Only IE7 and below will use width auto, instead of 450px;.

Per Microsoft use conditional comments instead of this kind of hack.

Brock Adams
A: 

I think it is some kind of trick for browser compatibility as explained in this blog

JSmaga