Regarding CSS targeted to IE via conditional comments what is the current consensus or is there one?
I would guess it's best to use the conditional just to link to an external, IE-only stylesheet rather that including the IE styles in the conditional comment itself for the same reason we do that with better browsers. Is this proper thinking? Also - am I better served to round up any and all "* html" rules in my CSS and throw them all in a separate IE-only stylesheet w/out the hack, then call it in via the conditional comments? What advantages are there to this method other than the main stylesheet being cleaner? Any downsides? Just trying to get all my ducks in a row, make things nice an tidy, before soon rolling out new templates to other departmental web folks. Lastly, can someone point me to a resource that will help me tear apart and understand this type of construct: #wrapper {width: 780px /* fallback value */; width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) > 1260 ? "1200px" : (((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 820 ? "780px" : "95%")); I understand parts of it but things like "document.compatMode && document.compatMode=='CSS1Compat'", etc. are not clicking that well yet. :-) I'd like to eventually understand these types of things enough to be able to write my own and not always have to copy and paste something someone has sent me. Thanks for all the great tips on here! ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/