View Single Post
Old 05-25-2012, 04:17 AM   #32
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,561
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kiwidude View Post
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">
Jellby is offline   Reply With Quote