W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: 'offsetWidth/height' function

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Fri, 7 May 2004 18:26:12 -0700
Message-ID: <001c01c4349b$7358a120$1902000a@AFedoniouk>
To: <www-style@w3.org>

Hi, Dave,

> The XUL box model actually accomplishes all that the %% units do and 
> more, with less ambiguity and with the ability to specify width  and 
> height values that are independent of the flexing values.  Flexing of 
> an element should actually be independent of the min-width, width, and 
> max-width values, so I don't think it makes sense to try to overload 
> flexing onto those properties.

Pretty much close, but not exactly as far as I know.
E.g. layout: 
<p>password:<input style="width:80%%"></p>
cannot be achieved in XUL. Am I right? 

Also: <div style="margin:100%%">center</div>
only by using spacers.

Andrew Fedoniouk.
http://terrainformatica.com
Received on Friday, 7 May 2004 21:31:20 GMT

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