Re: CSS: %% length unit. Proposal.

> 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

Huh?!

 f1{
  width:calc(25%-50px);
 }
 f2{
  width:calc(75%-50px);
 }

The problem with your proposal is that is it totally unclear what should happen,
just look at Dave Hyatt responses.'

(I'm confused with your examples as well, I know what you mean with some
examples, but that is just because I'm human.)

With 'calc', this is not the case.

Received on Saturday, 8 May 2004 09:24:53 UTC