W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: Alignment property proposal

From: David Woolley <forums@david-woolley.me.uk>
Date: Tue, 22 Jan 2008 22:15:48 +0000
Message-ID: <47966B14.9040503@david-woolley.me.uk>
To: www-style CSS <www-style@w3.org>

Alex Mogilevsky wrote:

> text-align shouldn't be affecting blocks. It should only be affecting inline
> content. If we want a property for aligning blocks, it should be a separate
> property. Aligning the block one way and the inline content another is very
> common.

The fundamental reason for this proposal was to have a property that 
behaves like the CENTER element, and therefore does affect both 
contexts.  I haven't followed it closely enough, but I'm not sure that 
the interaction between it, text-align and auto margins has actually 
been specified adequately.

In saying that the two functions must be separate, you are effectively 
rejecting the whole proposal.  I don't think that is necessarily bad, as 
the proposal was basically furthering the continuance of an element that 
was deprecated in favour of using CSS.  What people wanted to do was to 
continue to use CENTER elements, but not to have to rely on ad hoc 
browser implementation, but, instead, be able to specify it in the 
browser style sheet.

If a combined property is introduced, I think it should be introduced 
pre-deprecated, because it only exists to support a deprecated HTML feature.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Tuesday, 22 January 2008 22:16:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC