Quote:
Originally Posted by JSWolf
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).