Auto fit iframe

Posted by kevin on Stack Overflow See other posts from Stack Overflow or by kevin
Published on 2010-05-13T11:26:08Z Indexed on 2010/05/20 10:50 UTC
Read the original article Hit count: 228

Filed under:
|
|
|
|

I have a difficulty on design a web page layout. This is my layout structure.

<style>
#left
{
  float:left;
  width:600px;
  min-height:400px;
}

#right
{
  float:right;
  width:200px;
  min-height:400px;
}
</style>
<body>
<center>
<div id="page">
<div id="left">
<iframe />
</div>
<div id="right">right panel</div>
<div id="footer">footer</div>
</center>
</div>
</body>
  1. How can i make the both left & right div grow when the right div's child increase more than the min height?
  2. How can i make the both left & right div grow when the content in the iframe is longer than the min height?

© Stack Overflow or respective owner

Related posts about css

Related posts about css-layout