<style type="text/css">
.parent
{
width : 200px;
height : 50px;
background-color : #FFFFCC;
overflow : visible;
}
.child
{
width : 255px;
height : 30px;
background-color : #CCCCFF;
}
</style>
<div class="parent">
<div class="child">Child Content</div>
</div>
它在 Firefox 中运行良好,但在 IE7 中,父 div 与子 div 一起拉伸。有没有办法阻止 IE7 拉伸父 div?对于某些设计约束,无法定位 div。