0
  min-width: 160px;
  max-width: 220px;
  _width: 160px;

I know it's some version of IE, 6, 7 or 8. But can't figure out which one...

TylerH
  • 20,799
  • 66
  • 75
  • 101
Alex
  • 66,732
  • 177
  • 439
  • 641

2 Answers2

2

MSIE 5+ will process the tag as if there were no underscore, whereas other browsers will ignore that tag completely.

See http://wellstyled.com/css-underscore-hack.html

Polynomial
  • 27,674
  • 12
  • 80
  • 107
  • That page is really old - "MSIE 5+ will process the tag as if there were no underscore" implies that IE7/8/9 all have the same bug, but `_property` was fixed in IE7. – thirtydot Nov 03 '11 at 12:33
1

This smells like IE6. As far as I remember, IE7 added support for min- and max-width.

Of course this solution makes it static for IE5+6, and dynamic for other browsers.

tjdecke
  • 567
  • 4
  • 11