Quote:
Originally Posted by kiwidude
I don't want my headings to have the same style as my paragraph text. *Ever*
|
But the class could be anything, and whether or not it affects the style of the heading is something that cannot be determined without a deeper analysis of the CSS. Take this example:
Code:
p { margin: 0; text-indent: 1em; }
h2 { text-align: center, margin: 2em 0 1em 0; }
.important { font-style: italic; color: red; }
If you have <p class="important">, you'd probably want it to be <h2 class="important">