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

Re: Compound relative and pixel sizes for box sizes

From: fantasai <fantasai@escape.com>
Date: Sun, 02 Mar 2003 04:25:13 -0500
Message-ID: <3E61CDF9.7060407@escape.com>
To: www-style@w3.org

David Woolley wrote:
 >Noel Akins wrote:
>>I would like to see the following.
>>Basically put: Height: 100% - Xpx;
> At least one reason one this might not be taken seriously is that the use
> of even pure pixel sizes is discouraged as it makes to many assumptions
> about the technology used to view the material and the viewers eyesight.
> You might be able to simulate it using margins and padding.

<div class="main">
<div class="menu">
    Navigation list
<div class="footer">

.main {
    width: 100% - 15em;
    min-width: 20em;
    float: left;
.menu {
    width: 15em;
    float: right;
.footer {
    clear: both;

Can you simulate that?
(Without touching the markup, of course.)

P.S. There ought to be better ways to accomplish this,
e.g. by floating to the top right corner rather than
just to the right, but this example assumes the current

Received on Sunday, 2 March 2003 06:24:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:06 UTC