Re: 'offsetWidth/height' function

On May 7, 2004, at 6:26 PM, Andrew Fedoniouk wrote:

> 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?

I believe it can, but maybe I'm misunderstanding what the above means.

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

Again, I don't completely understand what the above means, but if it's 
centering an object vertically and horizontally within a
container, then sure that's trivially possible with the XUL box model 
without using spacers.


Received on Friday, 7 May 2004 21:36:57 UTC