我在bootstrap模式中有一个iframe .. iframe内容是动态的......即。高度是可变的。 模态如何自动调整高度?
<div class='modal fade my_modal' id='day_summary'>
<div class='container' style= 'width:100%; max-height:700px; overflow-y: visible';
<div class='row'>
<div class='col-sm-8 col-centered'>
<iframe id = "f1" src= 'http://abcd.php' style="max-height:700px; overflow-y: visible; width:100%; float:center;"></iframe>
</div>
</div>
</div>
</div> <!-- close search for service modal -->