View Single Post
Old 05-13-2013, 02:29 PM   #23
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,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Also, one thing I really dislike is p.class type classes. There's absolutely no need for them. without the p. the class can be used in anyplace a class is allowed.
There's no need, but no harm either. You already know the advantages of ".scenebreak", so I'd just mention a couple of advantages of "p.scenebreak":

- You can use the same class name for different elements, like "p.title" and "span.title" (which can do different things depending on the particular formatting one is aiming at).

- You know exactly which element the class is intended for, which is useful with long stylesheets or when editing code written by someone else (or by yourself a long time ago).
Jellby is offline   Reply With Quote