W3C home > Mailing lists > Public > www-style@w3.org > November 2007

RE: Alignment property proposal

From: Markus Mielke <mmielke@windows.microsoft.com>
Date: Tue, 6 Nov 2007 07:44:28 -0800
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: "www-style@w3.org" <www-style@w3.org>, "w3c-css-wg@w3.org" <w3c-css-wg@w3.org>
Message-ID: <0E4B701746DBB9418A6747852F8B9CA1024692B890@NA-EXMSG-W602.wingroup.windeploy.ntdev.microsoft.com>

Problem of margin :auto :

- Cannot be used in a default style-sheet for <center> element, since it margins can be overwritten (see -moz-center for the FF proposal)
- Does not allow centering if the content (like an image) is larger than the containing block (browser will automatically left align)

- Markus

-----Original Message-----
From: Daniel Glazman [mailto:daniel.glazman@disruptive-innovations.com]
Sent: Tuesday, November 06, 2007 7:24 AM
To: Markus Mielke
Cc: www-style@w3.org; w3c-css-wg@w3.org
Subject: Re: Alignment property proposal

Markus Mielke wrote:

> ' alignment'
> Value:              left |center | right | inherit
> Initial:            left
> Applies to:         All elements
> Inherited:          Yes
> Percentages:        N/A
> Media:              visual
> Computed value:     as specified

Centering an element inside another one is currently done
applying 'margin: auto' ; how will your proposal and that
live together ?

Received on Tuesday, 6 November 2007 15:44:48 UTC

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