Thread: Help with CSS
View Single Post
Old 01-21-2014, 01:37 AM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,540
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Additionally (and I'm NOT an expert at all), wouldn't one often use a class selector to override a paragraph (or other) entity, so even if you DID want different formatting on a paragraph in an Appendix as opposed to the main body you would code

Code:
p {
color: black;
font-size: 1em;
font-style: normal;
font-weight: normal;
text-align: justify;
text-indent: 1.2em;
line-height: 1em;
}
.appendix {
color: red;
}


<p>text in main body</p>
....
<p class="appendix">text in appendix</p>
PeterT is offline   Reply With Quote