My webpage consists of three large containers, each with an alpha transparent background. While they display correctly on desktop browsers, I'm facing alignment issues on tablets (both iOS and Android) and iPhones where the percentage sum seems to be incorrect.
<div style="position: fixed; top: 0; left: 0; right: 0; height: 10%;"> CONTAINER 1 </div>
<div style="position: fixed; top: 10%; left: 0; right: 0; bottom: 5%;"> CONTAINER 2 </div>
<div style="position: fixed; bottom: 0; left: 0; right: 0; height: 5%;"> CONTAINER 3 </div>
I also attempted to assign 'bottom' and 'height' instead of just 'height' for containers 1 and 3, but while they work fine in desktop browsers, on mobile devices the boxes overlap by about half a pixel or have some spacing between them.
All three boxes contain the same PNG image with alpha transparency, resulting in darker color when overlapped. If fixing the percentage issue is not possible, it would be acceptable to find a solution (if one exists) that allows for overlapping without merging the backgrounds.