W3C home > Mailing lists > Public > www-style@w3.org > March 2001


From: rlrrgrrl rllrgrrl <rllrgrrl@hotmail.com>
Date: Sun, 11 Mar 2001 15:46:07 +1100
To: www-style@w3.org
Message-ID: <F165pnidKrlVKvH9oil00005810@hotmail.com>
I have been looking at how to align things using css. The only 2 properties 
relating to alignment I can find are text-align and vertical-align.

Of these text-align is supposed to only apply to inline elements inside a 
block element, and vertical-align applies only inline elements and elements 
inside tables.

My question is, why are there no properties for controlling the alignment of 
block level elements. Specifically divs.

W3C is encouraging the use of CSS positioning for layout and only using 
tables for tabular data. Yet the most popular layout style (a centered 
website) is impossible without either the html tag align="center" or messing 
about with uneccesary frames.

Has this basic thing really been overlooked? Or is there another way of 
contolling alignment that I'm not aware of?

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Saturday, 10 March 2001 23:46:42 UTC

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