Re: CSS: %% length unit. Proposal.

Hi, Anne,

Let's say we have layout like this:
|<--25%%-->|<--fixed:100px-->|<------75%%------>|

What formulas do you propose F1 and F2 to achieve the same?
|<---F1-->|<--fixed:100px-->|<-------F2-------->|

E.g.  it could be:
F1 = -100px + 50%  or  F1 = 50% - 100px

I mean   A + B != B + A in such formulas.
Don't expect different UA to render this in the same way - too many choices.

Andrew Fedoniouk.
http://terrainformatica.com


>
> > I like the idea, but would it be clearer to add syntactical support for
> > simple expressions instead?
>
> I believe a proposal like that has been made and the CSS WG is
> discussing it.
>
>   width:calc(50%-100px);

Received on Friday, 7 May 2004 12:22:41 UTC