At 12/15/2006 09:14 AM, Rafael Mumme wrote:
.foo { background:red;width:100px;height:100px; }
.ie-only.foo { background:blue; }

At 12/15/2006 11:08 AM, Thierry Koblentz wrote:
Actually, unless I'm missing something, it should be ".non-ie"


I believe the reason it's an ie-only hack is that standards-compliant browers won't apply the selector .ie-only.foo to any element because no element has both classes ie-only and foo, while IE will apply it to any element with the class foo because it sees only the final class of a multiple-class selector.

Regards,
Paul


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to