Quote:
Originally Posted by foosion
One issue with <p> is distinguishing paragraphs with a text-indent and those without. Some CSS defines <p> with a text-indent and then has a class="noindent", typically for the first paragraph of a section, while others define <p> without an indent, then add a class="indent" for every paragraph other than the first.
Is one of these more canonical?
|
I prefer <p> for the majority of paragraphs and <p class="someclass"> when I want to deviate from the majority of paragraph styles. And I do prefer to have the indent in p in the CSS.
One thing that means doing is putting a text-indent: 0; in most/all classes that have a text-align: center; because most eBooks do not put an indent with p.