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

Re: border size and combining units

From: Mjumbe Ukweli <mjumbewu@hotmail.com>
Date: Sun, 01 Jul 2001 23:58:07 -0400
To: dav4is@bigfoot.com, mjumbe@electricstoat.com
Cc: www-style@w3.org
Message-ID: <F76JKVApwOLZCHusMjQ000018a5@hotmail.com>
all, ...

<snip/>

<rod_dav4is>
>Would this proposal do it?
>
>     A new optional modifier to Width (and Height) properties, "Outside". 
>When
>used, it causes the UA to make the specified length or percentage apply to 
>the
>*outside* of the box rather than to the content. It would do this by 
>adjusting
>the content width to make the outside box dimension be as specified, taking 
>into
>account whatever margins, borders and paddings are in effect.

<snip/>

not quite. (1) i think this proposal -- or even the proposed 'box-sizing' 
[1] property -- will solve many problems, but (2) say i wanted to position a 
box 50px below the vertical center of its containing box (top: 50% + 50px);  
there is at the moment no way to do so.  that's why there needs to be 
considered some way to combine measurements [2] of two different units.

                                                  &#8226; mjumbe &#8226;

[1] http://www.w3.org/TR/css3-userint#box-sizing
[2] http://lists.w3.org/Archives/Public/www-style/2001Jun/0089.html
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Sunday, 1 July 2001 23:58:39 GMT

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