Great. I'll give that a shot Klaus. Thank you. 

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Klaus Hartl
Sent: Wednesday, August 08, 2007 9:32 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Thickbox - why isn't the window centered?


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