View Single Post
Old 01-26-2013, 03:42 AM   #14
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,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Using p.hd or just .hd is just a matter of personal coding style. Some may want to have a single style for every class="hd" element, some may want to specify different styles for <p class="hd"> or <span class="hd"> or <img class="hd"> (even if only one of them is used at first).

I prefer to include the element name in the stylesheet, that way I know exactly what the class was originally intended for.
Jellby is offline   Reply With Quote