View Single Post
Old 11-19-2011, 03:12 AM   #7
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Well...that depends. If I have only one style h2, I will just make a class h2 which describes how my <h2> must look like. If I have multiple, I will make one generic class h2 and then see what the changes must be.
If more than one thing needs to be centered, I might make a .center class which I then can use for all my tags. Remember, <h2 class="center"> would use the generic h2 class and then apply the .center class. Since I can reuse the .center, it keeps my stylesheet small.
However, when a class needs more settings that might conflict, I use more specific classes.
Toxaris is offline   Reply With Quote