Full Height

http://dot.kr/x-test/style/autoHeight.php has the code below.

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>autoHeight</title>
<style>
.central{text-align:center}
.central div{
  vertical-align:middle;
 display:inline-block;
 border:1px solid #000;
 border-radius:5px;
 padding:5px;
}
</style>
</head>
<body>
<div class="central">
<div>top</div>
</div>
<div class="central">
<div>bottom</div>
</div>
</body>
</html>

I like to put “bottom box” to the bottom of the browser regardless of the size of the browser.
http://dot.kr/x-test/style/autoHeight01.php which has the code below is one of trials for it.

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>autoHeight01</title>
<style>
[COLOR="#FF0000"].hiP100{height:100%}[/COLOR]
.central{text-align:center}
.central div{
  vertical-align:middle;
 display:inline-block;
 border:1px solid #000;
 border-radius:5px;
 padding:5px;
}
</style>
</head>
<body [COLOR="#FF0000"]class="hiP100"[/COLOR]>
<div class="central">
<div>top</div>
</div>
<div class="central">
<div>bottom</div>
</div>
</body>
</html>

However, it seems not to work as I expected.
How can I put the bottom box to the bottom of the full browser?

Use a sticky footer design and put the bottom box in the footer.

Paul gives excellent examples with a detailed explanation of how they work right here, just for you: :slight_smile: