How do you vertically center a text?
The following code is in my CSS file
.dedicationPage {
display: block;
page-break-before: always;
margin-top: 25%;
}
.dedicationText
{
display: block;
font-size: 0.88rem;
font-style: normal;
margin-top: 0%;
text-align:center;
}
The corresponding text in the xhtml is horizontally centered. How do I make it vertically centered as well?
Last edited by Julius Caesar; 09-07-2013 at 12:51 AM.
|