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

Re: CSS: %% length unit and HTML's MultiLength unit.

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 10 May 2004 22:01:30 -0700
Message-ID: <003b01c43715$05b51190$0301a8c0@ATHLON>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>
Cc: <www-style@w3.org>

They are using weight coefficients model - calculate them with respect of
total weights value.

In my case "auto" works as sum of all %% along axis could be less than 100.

I have some doubts about sum of all %% > 100, though. I guess that in this
case schema transforms into weights model. Which is also not bad.

Andrew Fedoniouk.

I really like the solution:
<body style="height:100%">
<div id=navbar style="height:30px">...</div>
<div id=content style="height:100%%">...</div>
<div id=sitemap>...</div>
simple and obvious.

> Andrew Fedoniouk wrote:
> > I've found that HTML 4.0 specification already has concept of %% units.
> >
> > Name of these units is *MultiLength*
> MultiLength is more like a XUL-like constraint model than what you
>   Note that you can't have "auto" widths with a multilength -- you have to
> specify an absolute or relative length for every item in your set.
> -Boris
Received on Tuesday, 11 May 2004 01:03:50 UTC

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