Re: Percentage height meaurements.

Richard York wrote:
> My question is, are there any solutions available or in the proposal
> stage that would allow a designer to utilize the 100% measurement minus
> the length of margins, padding and borders. I've done quite a bit of
> digging in the specifications and have come up naught so far.

   This should produce the result you're after.  It won't work in IE, 
but it is valid and does work in standards compliant UAs

div {
     position: absolute; /* or relative */
     top: 0;
     bottom: 0;
     padding: 10px;
     margin: 10px;
     border: 1px solid black;
}

-- 
Lachlan Hunt

http://www.lachy.id.au/
lachlan.hunt@lachy.id.au

Received on Thursday, 27 May 2004 18:04:27 UTC