I am trying to achieve a layout with a horizontal scrollbar on the root container and vertical scrollbars on sub-containers while preventing any overlapping of content. This setup needs to be compatible with IE, Edge, Chrome, and FF (latest versions).
<rootcontainer> => horizontal scroll
<subcontainer1> => vertical scroll
<data></data>
</subcontainer1>
<subcontainer2> => vertical scroll
<data></data>
</subcontainer2>
</rootcontainer>
Chrome and FF display the scroll correctly, but in IE11 and Edge, the root container's scroll overlaps with the sub-container content.
Note: Each subcontainer should have a width equal to 50% of the subcontainer.
I have provided a fiddle to showcase the issue.
What might I have missed in setting this up?
EDIT :
Windows 10 Edge https://i.sstatic.net/hpoUs.png
Windows 10 IE https://i.sstatic.net/N6qHc.png
Please note that borders are not visible in IE11, and the bug is more pronounced in Edge.