View Single Post
Old 10-29-2013, 09:17 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
CSS uses either the tag names or the class attribute to do its work. Cascading, The C in CSS means it will use the more detailed entry to override the less detailed entry, meaning a class="xxx" attribute will override a tag like h2, or you can also use them together to be even more precise. So the answer is it will work in either the styles or the tags but the effect may end up different. For example if you want all h2 tags to be centered you would do it in the tags but if only some of the tags then use styles.

Note also in xhtml the tags are in lower case.

Dale
DaleDe is offline   Reply With Quote