I am trying to position my background image in the bottom right of my page:
.bg{
background-image: url("Wave.png");
position: absolute;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: 85%;
background-position: bottom 0px right 0px;
background-origin: content-box;
}
The bg class serves as the global container for my HTML
<body class="background">
<div class="bg">
</div>
</div>
When there is minimal content on the page, it displays correctly without any issues
https://i.sstatic.net/KbAYO.png
However, when there are more rows in my table, I encounter this problem
https://i.sstatic.net/Rn8xn.png
I'm trying to figure out what's wrong but can't seem to find a solution. Any ideas?