Quote:
Originally Posted by theducks
I also use a unique, class for clarity when it encompasses the whole paragraph,
Code:
<p class="foo">Stuff</p>
instead of
Code:
<p class="foo"><span class="bold"><span class=:big">Stuff</span></span></p>
Bigger CSS, but smaller TEXT section files 
|
I often redefine <p> this way:
Code:
p {font-size:1em;text-align:justify;text-indent:0;margin:0 0 0 0}
p + p {text-indent:1em}
and replace all occurrences of:
Code:
<p class="foo"><span class="bold"><span class=:big">
with <p> and remove the unused classes. This may considerably reduce the HTML size.
French editors often use such delirious class names as
Code:
<p class="texte_courant_avec_indentation">
and this tag is repeated, say, 3,000 times in the text: if you replace it with <p>, you spare 39*3,000=117,000 characters.