W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Proposal: content-size property

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 16 Jul 2008 16:20:39 -0700
Message-ID: <487E8247.7080105@terrainformatica.com>
To: "Michael A. Puls II" <shadow2531@gmail.com>
CC: www-style@w3.org

Michael A. Puls II wrote:
> Problem: Make an iframe or object's height expand to the height of its content
>
>   
.....

David Baron proposed once to use 'max-intrinsic' and '[min-]intrinsic' 
values for length units.

frame
{
   overflow: hidden;
   min-width: min-intrinsic; /* so will never overflow in x direction  */
   height: intrinsic; /* and neither do in vertical */
}

p
{
   width: max-intrinsic; /* will never wrap */
}

--
Andrew Fedoniouk.

http://terrainformatica.com
Received on Wednesday, 16 July 2008 23:21:29 GMT

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