W3C home > Mailing lists > Public > www-style@w3.org > October 1999

Re: Unlogical width with percentages

From: Sjoerd Visscher <sjoerd@heeten.nl>
Date: Sun, 10 Oct 1999 23:15:43 +0200
Message-ID: <003701bf1364$9d6bac80$1400000a@beneden>
To: "www-style" <www-style@w3.org>
>    <div style="float: right; width: 50%">
>       <div style="margin: 2em; border: solid 2em; padding: 2em;">
>       </div>
>    </div>
>
> ...has the same effect as:
>
>    <div style="width: 50%; float: right; box-sizing: margin-box;
>                margin: 2em; border: solid 2em; padding: 2em;">
>    </div>
>
> ...so limiting 'box-sizing' is not really a blocker.
No, on the contrairy, the first example is clear, while you need to think
twice for the second one.

Sjoerd Visscher
Received on Sunday, 10 October 1999 17:18:39 GMT

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