Thanks, Joe T. Walter: The problem is, that on my page the user can add/remove contents and also change the styles of those contents dynamically using JS. Now if you set a Style to certain elements, either via changing the style-tag or adding a class-name and *afterwards* add content, that content won't be styled. Of course, I save the applied style-settings in my backend and so I could apply the style-definitions when I generate the added content, but that maybe that might not be the case anymore in the future and also it's easier to set a style-definition in a style tag, rather than doing the backend-thing.
-- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/jwbn35nC444J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
