I have a div with paragraphs inside:
<div>
<p>...</p>
<p>...</p>
</div>
I want dynamically to apply a certain style to paragraphs inside this div. Is it possible to do that without handling each paragraph element, but just attach somehow style to div element and all inside paragraphs would be affected?
Maybe with jquery.
It sounds for me like dynamical change of the stylesheet, is it possbile?
The right recommendation in answer's comments.
Thanks.