[jQuery] Re: using replaceWith to overwrite a stylesheet, dynamically set styles

2009-02-17 Thread pantagruel
Ok, I solved the problem with using !important on the rule. But after some more looking at the technique it is probably better to use script insertion anyway. On Feb 17, 7:38 am, pantagruel wrote: > Hi, > > I want to do the following: > function CheckCurrentDataStream(){ > window.setTimeout ("

[jQuery] Re: using replaceWith to overwrite a stylesheet, dynamically set styles

2009-02-17 Thread pantagruel
I should specify that I have tested the css, it works. It could be a caching problem but I've set my cache-control to no-cache and the expires header comfortably in the past. So I'm wondering if there is some problem with registering new styles when they are dynamically loaded after page load. T