Quote:
Originally Posted by Karellen
<p class="copy">Introduction copyright © 1989 Hui Corporation</p>
<p class="copy">Text copyright ©1956 Hui Corporation</p>
<p class="copy">Republished in 2012</p>
<p class="copy">All rights reserved.</p>
|
An alternate, and IMHO cleaner, way to do this is by using a <div>:
Code:
<div class="copy">
<p>Introduction copyright © 1989 Hui Corporation</p>
<p>Text copyright ©1956 Hui Corporation</p>
<p>Republished in 2012</p>
<p>All rights reserved.</p>
</div>
CSS:
div.copy {yadda yadda}
div.copy p {yadda yadda}
That keeps the html nice and compact and you know exactly what’s going on in the <div> without the repetitive code bloat. Multiple <div> classes in your css handle the styling in an organized manner.