Re: 'offsetWidth/height' function

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 UTC