W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: Simple arithmetic in width and height attributes

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 08 Mar 2006 20:36:11 +0100
Message-ID: <440F322B.4020405@disruptive-innovations.com>
To: Mark Cilia Vincenti <mark@gfi.com>
Cc: www-style@w3.org

Mark Cilia Vincenti wrote:

> I think it would be quite useful to have simple arithmetic to be allowed
> in the width and height attributes. This does not necessarily give one
> extra functionality, but results in cleaner, smaller code when trying to
> achieve some specific designs.
> 
> Some examples:
> 
> <div style="width:50%+10;">this is some text that's 10 pixels over half
> of the allocated space</div>

Right on time, Mark, right on time... That's on CSS WG agenda.

</Daniel>
Received on Wednesday, 8 March 2006 19:36:27 GMT

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