As every web developer finds out the hard way sooner or later, IE does not apply css styles loaded via ajax. I know I could just put that css in a more global place, but I'm wondering if there happens to be some "hack" or "trick" to get around this. Perhaps there is some javascript magic?
UPDATE WITH EXAMPLE:
For example, say you have a div named "jane":
<div id="jane">Hola Mundo!</div>
You make an ajax request that updates jane. Now jane looks like this:
<div id="jane">
<style type="text/css">
#sally {color:#0F0;}
</style>
<div id="sally">Hi, I'm Sally!</div>
</div>
In all browsers but IE sally's font will be green. So, how can I make sally be green in IE without adding that css to my global css file or the likes?
Update:
For the record, my guess is that there's just not a way to do it. At least not cleanly.