Andy Matthews wrote:
I'm working on legacy code, I don't think we're even specifying a doctype.
Short of forcing a doctype on IE7, is there any other way around it?

Overwrite the particular properties with selectors with higher specificity and hide them from IE 6:

html>body #TB_window { /* IE 6 won't notice, IE 7 will apply */
    position: fixed;
}

* html #TB_window {
    position: absolute;
}


(Before somebody asks, no, the universal selector does not add to specificity.)



--Klaus

Reply via email to