I currently have a HTML of 3 main DIV.
The top DIV (green colour) contains an image with text beside it. I'm centering this DIV within the page. This DIV has to contain both the image and the text.
The second DIV (blue colour) is scrollable, meant to be show some scrollable text.
The third DIV (grey colour) is kind of like a status bar, fixed at the bottom of the page.
Now, the problem I have is as the scrollable text increases in the second DIV, the last line in the second DIV cannot be seen, as it is obscured by the status bar at the bottom. The scrollable text currently contains multiple lines of "Hello world..." with the last line being "Hello world... last"
How do I change the CSS or the HTML, so that the last line in the second DIV will not be obscured by the status bar? If it helps, I can create move the content within the scrollable DIV into another DIV (so as to fix the second DIV) to be above the status bar.
The solution needs to work on all modern browsers.
I have a fiddle with the link below. You can see that "Hello world... last" line cannot be seen. What do I need to change, so that the last line can be seen, with the second DIV being scrollable?
Here's how it looks like currently.
<div class="container">
<div class="first-row" style="display: inline-block; ">
<div class="first-rowx" style="display: inline-block; vertical-align: middle;">
<img src="https://cdn.freebiesupply.com/logos/large/2x/acme-logo-png-transparent.png" width=240 height=274 alt="img" />
</div>
<div style="display:inline-block; vertical-align:middle;">
<h1 class="text-center" style="display:inline-block; vertical-align:middle;">Proudly made by ACME</h1>
</div>
<hr />
<div class="center1">
<div class="center2" >
<label id="SomeLabel1">Some label: </label>
<label id="SomeLabel2">Some text....</label> <br/>
<label id="SomeLabel3">Some text </label>
<label id="SomeLabel4">Please do something xxxxx yyyyy</label> <br/>
</div>
</div>
<hr />
<div class="pet-filter" style="display: flex; justify-content: center;">
<button class="btn btn-default btn-Connect" id="btnConnect">Button1</button>
<button class="btn btn-default" id="Name1" style="visibility:hidden;"></button>
<button class="btn btn-default" id="Name2" >Button3</button>
<button class="btn btn-default" style="visibility: hidden;"></button>
<button class="btn btn-default" id="Name3" disabled>Some action</button>
</div>
<hr />
</div>
<div class = "middle-row" id="SomePanel"> <!-- second DIV -->
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... <br/>
hello world... last<br/>
</div>
<div id="status">Not connected.</div> <!-- status bar div -->
</div>