I'm creating some dynamic page elements via JavaScript and have run into a problem -- Firefox automatically applies the stylesheets to these new objects, but IE refuses to do so.
The only way I can have these elements styled is by applying the styles via javascript upon creation, which is total bullshit. I'm not writing these stylesheets again.
Any ideas?
Name:
Anonymous2007-02-21 0:40 ID:2yGxQYtn
>>1
IE is a huge pile of crap, welcome to the wonderful world of the wide web. I have the same problem with this fucking moron IE caching GET requests with XMLHttpRequest objects.
The solution: don't use IE. Anymore. Ever.
Name:
Anonymous2007-02-21 4:41 ID:Ozx2zxmF
why don't you just run your javascript and as the last step, maybe in the window.onload(), you apply your css ???
Name:
Anonymous2007-02-21 5:26 ID:2Z4Yqf9W
>>1
Are you using innerHTML or the DOM shit? Try innerHTML. DOM shit is slow and ugly as fuck to use.
Name:
Anonymous2007-02-21 7:21 ID:KHtqF1Ua
>>4
As a rule, if it's 'recommended' by the W3C, it's shit slow and ugly as fuck to use.
Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy