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

Re: 'offsetWidth/height' function

From: Dave Hyatt <hyatt@apple.com>
Date: Fri, 7 May 2004 18:36:10 -0700
Message-Id: <15592CBE-A090-11D8-BA09-000A95AE8B18@apple.com>
Cc: www-style@w3.org
To: Andrew Fedoniouk <news@terrainformatica.com>

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:13 UTC