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

Re: CSS: %% length unit. Proposal.

From: <fora@annevankesteren.nl>
Date: Sat, 8 May 2004 15:24:28 +0200
Message-ID: <1084022668.409cdf8c79d9f@webmail.annevankesteren.nl>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Max Romantschuk <max@provico.fi>, www-style@w3.org

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:29 GMT