Postpostmodern » IE6 CSS Bugs http://postpostmodern.com Speaking of web development. Wed, 11 Jan 2012 00:21:50 +0000 http://wordpress.org/?v=2.9.1 en hourly 1 No Multiple-Class Support in IE6 http://postpostmodern.com/2008/11/18/no-multiple-class-support-in-ie6/ http://postpostmodern.com/2008/11/18/no-multiple-class-support-in-ie6/#comments Wed, 19 Nov 2008 00:42:34 +0000 Jason Johnson http://postpostmodern.com/?p=231 IE6 was mean to me again today.

For the past few years, I haven’t had too much trouble out of IE — only because I’ve become familiar with its quirks. I know that floats need display: inline to fix the margins, position: relative or zoom: 1 needs to be added to misbehaving elements to trigger hasLayout, and height: 1% will make boxes stretch to contain their floated children. That’ll fix IE6 90% of the time. But today, I struggled with something I hadn’t run into before: Lack of Multiple Class Support

I was trying to reference elements with multiple classes in my CSS:

.aside.login {
  properties: values;
  ...
}

All the other browsers (including IE7) work with this just fine. IE6, however, only sees one class. I wish I had known about this before I spent most of my afternoon trying to figure out why rules were getting applied to things they shouldn’t have.

]]>
http://postpostmodern.com/2008/11/18/no-multiple-class-support-in-ie6/feed/ 9