Will
As suggested by Monsieur Jay, a bit of CSS...
.centerTable {
text-align: center;
}
.centerTable table {
position: absolute;
top: 50%;
left: 50%;
width: tableWidth;
height: tableHeight;
margin-left: -(tableWidth/2)px;
margi
An easy way to center a table, is to put it in another table:
Helloworld
/Jesper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't think you can do a vertical centering.
but you can specify a margin-top value to your table...
fx
Embarrassed to ask but how to vertically align a table to a middle of a
page?
Forgot... ...didn't even find it with even Dreamweaver...
:-0
-Will
--
François-Xavier LACROIX htt
[snip]
Embarrassed to ask but how to vertically align a table to a middle of a
page?
[/snip]
Use CSS.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Embarrassed to ask but how to vertically align a table to a middle of a
page?
Forgot... ...didn't even find it with even Dreamweaver...
:-0
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo