div {
background-color: #bada55;
width: 475px;
float: left;
margin-left: 30px;
height: 100%;
}
html,
body {
height: 100%;
min-height: 100%;
}
<div>
</div>
I am facing an issue with extending a div to the bottom of the screen. Despite setting the height to 100%, it does not seem to work as expected:
div {
background-color: #bada55;
width: 475px;
float: left;
margin-left: 30px;
height: 100%;
}
html, body {
height: 100%;
min-height: 100%;
}