撑开a 是上面意思呢
a.width = b.width+215吗
不是意思,是高度
a中仅设置min-height:800px;,,,height不要写。。。
#a{ height:auto!important; height:800px; min-height:800px;width:1015px; margin:0 auto; border:1px solid #B10000;overflow:auto;} #a{
height:auto!important;
height:800px;
min-height:800px;
width:1015px;
margin:0 auto;
border:1px solid #B10000;
overflow:auto;
}
规范很重要!
有浮动了,难道不清除吗?
清除浮动,问题迎刃而解,overflow什么的根本不需要写。
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号