> If you force IE 6 into quirks mode, you still have to hack the box > model--in quirks mode you'll just be lumping IE 6 in with the hack. The > simple method of doing this is:
Quirks mode allows developers to maintain backwards compatibility and avoid all those really ugly hacks you included in your message. The problem with the hacks is that they all rely on implementation bugs. If this were object oriented programming, the phrase would be "program to the interface, not the implementation." > You could also use conditional comments to feed any version of IE > selectors, properties, and values as necessary: I agree with the use of conditional comments as override mechanism for the reasons you mention. It's important to note the difference between this and the other hacks you described: this is a documented feature. As such, you can rely on it. It's also semantically clear. > Standards mode for IE 6 is not too buggy for production. I'll agree it's > not even close to perfect, but it is a step in the right direction and a > far cry better than IE 5.x's poor CSS support. My interpretation of what Micha was saying is that trying to use standards mode (as opposed to quirks mode), brings out the bugs and odd behavior in older browsers. This leads to more development time and ugly hacks like the ones you mentioned. Of course, I may have misunderstood Micha. :) Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 > > <!--[if IE 5]> > <link rel="stylesheet" type="text/css" href="css/ie-5.x.css" /> > <![endif]--> > > Which would contain: > > #myBox { > width: 222px; > } > > Using conditional comments allows you to keep all of your IE specific > CSS in one stylesheet, helps to avoid using hacks in your main > stylesheet, and improves the shelf life of the document. > > Standards mode for IE 6 is not too buggy for production. I'll agree it's > not even close to perfect, but it is a step in the right direction and a > far cry better than IE 5.x's poor CSS support. > > -- > Best regards, > Michael Wilson > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187389 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54