January 10th, 2004, 10:18 PM
center align table on page with CSS
how do i center align table on page with CSS?
January 10th, 2004, 10:29 PM
Put the table in a paragraph and apply CSS to this element:
January 11th, 2004, 10:47 AM
wrong, p-tags cannot contain block-level elements,
and the correct way to center an element with css is to use :
but ofcourse msie doesn't complay with this, so you have to assign text-align:center in the parent element.
or place a div-tag around the table,
with style="text-align:center" as magma suggested