CSS rendering problem in IE8

CSS rendering problem in IE8

Hello All,
I have an FOUC error I ran into with IE8.  I tried fixing it using conditional statements, which did work on my local server, but not in JBOSS on our test server for some reason. 

Anyway, after doing lots of searching it appears to be the result of document.ready() firing at the wrong time.  See this link on SO about the issue.  I tried to use the code that KevinB used there, but I couldn't get it to work at all. 

Is there a better way to ensure that the document.ready() is really ready at the right time with IE8? 

BTW, it works fine in all the other browsers I've tested with and I've never seen this jQuery issue before.