B
Bern
I used the following to make the content become centered (horizontally and
vertically)
<body style="height: 100%; margin: 0; padding: 0;">
<table cellpadding="0" cellspacing="0" border="0" width="100%"
style="height:100%">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
contents....
</td>
</tr>
</table>
</body>
However, this methods fails once the document is declared to be XHTML
transistional 1.0
so is there another way to make content become centered vertically?
vertically)
<body style="height: 100%; margin: 0; padding: 0;">
<table cellpadding="0" cellspacing="0" border="0" width="100%"
style="height:100%">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
contents....
</td>
</tr>
</table>
</body>
However, this methods fails once the document is declared to be XHTML
transistional 1.0
so is there another way to make content become centered vertically?