Hello again everyone.
I'm working on styling paragraphs today, and here's the situation.
I've got a group of 8 pages. Five of them have red text, and three of them have green text.
And at this point, I have them styled with an external sheet like this.
p
{
color: red;
}
p.grn
{
color: green;
}
Pages one thru five
<p>
Red text here
</p>
Pages six thru eight
<p class="grn">
Green text here
</p>
And this works. The trouble is, all the pages have a significant number of paragraphs on them, and right now I'm inserting class="grn" into at least a hundred paragraph tags.
Is there a way to make all the paragraphs on a page class=grn without inserting class="grn" into each into each <p> tag.
Help!