Re: Proposal: content-size property

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 UTC