Will

As suggested by Monsieur Jay, a bit of CSS...

....
<style type="text/css">
.centerTable {
        text-align: center;
}
.centerTable table {
        position: absolute;
        top: 50%;
        left: 50%;
        width: tableWidth;
        height: tableHeight;
        margin-left: -(tableWidth/2)px;
        margin-top: -(tableHeight/2)px;
}


</style>

.....

<div class="centerTable">
<table border="1">
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
</div>

HTH

Raz

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to