You're talking about
vertically centering multiple lines of text? I am assuming it is already centered
horizontally with
text-align: center.
Code:
#content-right {
float: right;
width: 280px;
text-align: center;
}
Couldn't find a previous post where I explained this, but for
vertically centering multiple lines of text, you would use:
Code:
.center-container {
display: table;
}
.center {
display: table-cell;
vertical-align: middle;
}
Code:
<div class="center-container">
<div class="center"></div>
</div>
http://www.vanseodesign.com/css/vertical-centering/
It doesn't work in IE6 & 7, there are backups explained in the article, but I honestly wouldn't bother supporting them for such a little thing as centering.