- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Wed, 16 Jul 2008 16:20:39 -0700
- 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 UTC