W3C home > Mailing lists > Public > www-style@w3.org > October 1997

With CSS how does one ALIGN block-level elements?

From: Neil St.Laurent <neil@bigpic.com>
Date: Sun, 19 Oct 1997 17:57:09 -0600
Message-Id: <199710192349.RAA01284@underworld.bigpic.com>
To: www-style@w3.org
Maybe I'm missing something, but it just dawned on me after several 
months of implementing and using CSS that there doesn't appear to be 
a way to center or right align block-level elements.

Basically I want this HTML 3.2 code:

<DIV ALIGN=CENTER>
<TABLE> ... </TABLE>
</DIV>

converted into HTML 4.0 using CSS:

<DIV STYLE="????: center">
<TABLE> ... </TABLE>
</DIV>

__
| Mortar: Advanced Web Development <http://bigpic.com/mortar/>
| Neil St.Laurent  neil@bigpic.com
| Big Picture Multimedia
Received on Sunday, 19 October 1997 19:51:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:51 GMT