<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
#point{
border:1px solid #000;
}
</style>
</head>
<body>
<div id="point">
Height of this container (div) is auto;
</div>
<button onclick="myFunction()">Click Me</button>
<script>
function myFunction(){
var x = document.getElementById("point");
x.style.minHeight="100px";
}
</script>
<p><strong>Note</strong>: Click on the button to set the minimum height of this container (div) to "100px".</p> </body>
</html>