What does * width: auto mean in CSS mean?

Can anybody tell me what does

*width:auto; 

mean in css?

For instance:

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

thanks

+4
source share
3 answers

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

Microsoft uses conditional comments instead of conditional hacking.

+4
source

This is a CSS hack to install on Internet Explorer 7 and below . And it is not recommended to use in the real world.

+3
source

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

0
source

Source: https://habr.com/ru/post/1314792/


All Articles