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

Re: Backgrounds: Suggestion for improving background positioning

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 14 Jun 2006 08:32:31 +0200
To: www-style@w3.org
Message-ID: <op.ta4hshb064w2qv@id-c0020.oslo.opera.com>

On Wed, 14 Jun 2006 06:41:26 +0200, Kelly Miller  
<lightsolphoenix@gmail.com> wrote:
>> Why would you need this when we get calc()?
>
> On background-position, what would calc(100% - 25px) mean?  How about
> calc(50% + 40px)?
>
> background-position is hard to define in terms of using calc, because of
> the odd way the system works (where 100% is far to the right, and 100%
> does not equal the exact width of the object in pixels).

See http://www.w3.org/mid/20060613210028.GA23945@ridley.dbaron.org for  
some thoughts on that.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 14 June 2006 06:33:06 GMT

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