Quote:
Originally Posted by Hitch
When the goal is to have very short CSS
|
My goal isn't to have short CSS but to have as little as needed in the html, which admittedly does require combinators. So for example, that's why I love the p+p thing for indented paragraphs instead of the usual p class="noindent" for the nonindented ones, or listing all the various places where you don't want it indented. (I learned about p+p
here.)
Another goal is to have css that's relatively easy to change for people who don't like my style, which is ragged right and indented and no white space between paragraphs. I now have a comment at the top of the css which directs them to the bottom where they can uncomment a few lines to change those things.