Quote:
Originally Posted by DiapDealer
A)
Code:
<p class="center"><b><span style="font-size:14.0pt">author name</span></b></p>
and the corresponding CSS:
Code:
p.center {
text-align: center;
margin-top: 6.0pt;
}
|
I would say it is a lot neater to do the following...
Code:
<p class="center">author name</p>
Code:
.center {
text-align: center;
margin-top: 1em;
font-weight: bold;
font-size: x-large
}
I dislike doing paragraph specific styles such as p.center. It's much better (IMHO) to do just plain .center.