Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

CSS not applying to appended html node

I am using appendChild to insert html nodes into my webpage. A typical html node is <div class="ele">test</div>
Unfortunately, the node is not getting styled with the "ele" class. The "test" text is appearing in the webpage, but its only partially styled.
If I save the resulting html document and open it from scratch, then the node does get properly styled - so my html and css are good.

I am using firefox, and I just cant get this thing to work properly... anyone have any ideas?

Thanks a ton,
RR
[546 byte] By [RighteousRaven] at [2007-11-11 10:27:15]