This issue is concerning.
https://i.stack.imgur.com/on8t9.jpg
The border of the div extends beyond the red line.
I have set this for body and html:
html {
height: 100%;
}
::-webkit-scrollbar {
width: 0px;
background: transparent; /* make scrollbar transparent */
}
body {
height: 100%;
background:url('http://sf.co.ua/13/03/wallpaper-2682923.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Here is my HTML setup:
<div style="margin-top: 10%; height: 100% !important;" class="container-fluid">
<div class="bodyc mx-auto">
<div style="background-color: orange; border-top-right-radius: 15px; border-top-left-radius: 15px;">
<ul class="nav nav-pills font-weight-bold">
<li class="nav-item">
<a class="nav-link active active-orange" style="border-top-left-radius: 15px !important;" href="#">HOME</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" href="#">STAFF LIST</a>
</li>
</ul>
</div>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img style="height: 250px !important;" class="d-block w-100" src="https://i.imgur.com/pxfQAPP.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img style="height: 250px !important;" class="d-block w-100" src="https://i.imgur.com/IFNufte.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img style="height: 250px !important;" class="d-block w-100" src="..." alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div style="height: 100% !important;">
<div class="row" style="height: 100%">
<div class="col col-lg-9">
<div>
</div>
</div>
<div class="col col-lg-3">
<div style="border-left: solid red; height: 100% !important;">
test
</div>
</div>
</div>
</div>
</div>
</div>
The red line should align with the end of the white div,
<div style="border-left: solid red; height: 100% !important;">
However, it extends further down without reason.
Additionally, I am unsure why the white div doesn't reach the bottom even with a height of 100% specified:
.bodyc {
position: relative;
background-color: white;
width: 90%;
border-radius: 15px;
height: 100% !important;
}
Bootstrap framework is being used in this setup.