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:

<TABLE> ... </TABLE>

converted into HTML 4.0 using CSS:

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

| 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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:45 UTC