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.comReceived 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