I am coding a lengthy div structured layout. I want the blue section independent if page height is short.

I am coding a lengthy div structured layout. I want the blue section independent if page height is short.

Sounds like you're trying to make a sticky footer. If you know the height of the blue section you can use the sticky footer method described in this CSS-Tricks post.
Here's an example based on that method...
html, body {
height: 100%;
}
.top {
min-height: 100%;
/* equal to bottom height */
margin-bottom: -142px;
}
.top:after {
content: "";
display: block;
}
.bottom, .top:after {
/* .push must be the same height as bottom */
height: 142px;
}
.bottom {
background: #ccc;
}
<div class="top">
<h1>Top</h1>
</div>
<div class="bottom">
<h1>Bottom</h1>
</footer>