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

Re: positioned elements: center

From: Brad Kemper <brkemper@comcast.net>
Date: Tue, 8 Jan 2008 22:22:36 -0800
Message-Id: <3F1AC7E6-B12E-4871-90A4-833363B23065@comcast.net>
Cc: CSS Style <www-style@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>

On Jan 8, 2008, at 9:57 PM, Brad Kemper wrote:

>> I think the position: center scheme is less clear on what happens  
>> when
>> e.g. 'left' is 'calc(50% + 5em)'...
>
> Unless I am missing something (its possible, I admit), there is no  
> "left" that can be used with position:center (unlike every other  
> value for "position" other than "static"). To my understanding, the  
> positioning starts and ends once "position" is given a value of  
> "center". If you change the value of "position" to something that  
> "left" can be used with, then it no longer has a value of "center".
>

Ah, I stand corrected on this one point. I do see now that it does  
have its own version of what left, right, top, and bottom are  
supposed to do. I suppose a very careful reading might reveal to  
authors what those values do for position:center and how they differ  
from position:absolute. I don't think it is as intuitive, though.
Received on Wednesday, 9 January 2008 06:22:51 GMT

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