0
在this page,以在Chrome 480像素视口,我想设置:.container高度自动不适应内容
#header.boxed .container {
height: auto;
}
代替:
#header.boxed .container {
height: 186px;
}
当我做这个,#header.boxed .container
比我需要的不高。
如何确保#header.boxed .container
足够高以显示其内容?
谢谢。
非常感谢马迪。我只需要'#header.boxed .container {height:auto; }'或'#header.boxed {height:auto; }'总体来说,'#header.boxed'的行为适应混合的视图端口宽度,并且不会让导航在其顶部蔓延,并且'{#top .logo img {width:100 %!重要; height:auto!important;}'控制'#header.boxed'的高度。 – Steve