Gà con
Gà con

Reputation: 11

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 !

Anyone can help me to figure out this problem ? Thank you very much !

Screenshot Problem : https://i.sstatic.net/i9lys.jpg

Upvotes: 1

Views: 62

Answers (2)

Yash porwal
Yash porwal

Reputation: 326

You just need to add overflow: auto; to your .col-left class

.col-left {
  float: left;
  background-color: antiquewhite;
  width: 30%;
  height: 100%;
  overflow: auto;
}

Upvotes: 1

Aneeb
Aneeb

Reputation: 789

add height to inherit resolve your issue Learn More Inherit

.containerform {
    background-color: beige;
    margin: 0 auto;
    width: 90%;
    padding-top: 10px;
    height: inherit;
}

Upvotes: 1

Related Questions