<html>
<head>
<meta charset="UTF-8">
<style>
.hello {
background: red;
height: 150px;
overflow: auto;
width: 100px;
float: left;}
</style>
</head>
<body bgcolor="#FFFFE0" text="#000000">
<div class "divv">
<div class="hello">
</div>
</div>
</body>
</html>
I dont understand why body and divv dont have the height of hello since they are wrapping around it. only html inherits its height(+default margin)