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

border size and combining units

From: Mjumbe Ukweli <mjumbewu@hotmail.com>
Date: Thu, 28 Jun 2001 13:49:22 -0400
To: www-style@w3.org
Message-ID: <F242HfyQgeDKvPEkGhA0000fbf0@hotmail.com>
is there a reason that borders-widths cannot be percentage values?  it would 
make it that much easier to create fluid GUIs if they could.

also (and i believe that this was suggested a while ago, though i can't 
remember when or by whom) there should be some way to add two different 
units together to size an element:

elm1 {
    position: absolute;
    left: 0%;
    width: 50%;

    margin: 10px;
}
elm2 {
    position: absolute;
    left: 50% + 20px;   /* to accomodate elm1 */
    width: 50% - 20px;
}

                                                  &#8226; mjumbe &#8226;

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Received on Thursday, 28 June 2001 13:49:53 GMT

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