[英]Can I get full height of div tag?
I have link : http://batdongsana8.com/1/ Seem that left column can not get full 100% height of screen, if i remove some of articles left column , it works fine !我有链接: http ://batdongsana8.com/1/ 似乎左栏无法获得完整的 100% 屏幕高度,如果我删除左栏的一些文章,它工作正常!
Anyone can help me to figure out this problem ?任何人都可以帮我解决这个问题吗? Thank you very much !
非常感谢 !
Screenshot Problem : https://i.imgur.com/DEjUiNL.jpg截图问题: https ://i.imgur.com/DEjUiNL.jpg
add height to inherit resolve your issue Learn More Inherit添加高度以继承解决您的问题了解更多继承
.containerform {
background-color: beige;
margin: 0 auto;
width: 90%;
padding-top: 10px;
height: inherit;
}
You just need to add overflow: auto;
您只需要添加
overflow: auto;
to your .col-left
class到你的
.col-left
类
.col-left {
float: left;
background-color: antiquewhite;
width: 30%;
height: 100%;
overflow: auto;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.