Hello,
I am looking to create an HTML layout similar to the one shown below:
+----------------------+-----+
| upSide | |
|----------------------| |
| |right|
| |side |
| | |
| mainSide | |
| | |
| | |
+----------------------+-----+
Something along these lines:
<div id="rightSide"></div>
<div id="mainFrame">
<div id="upside"></div>
<div id="mainSide"></div>
</div>
Essentially, I want #upSide to overlap #mainSide. In other words, when scrolling within #mainFrame, the elements in #mainSide should be visible behind #upSide with a transparent background (e.g. background-color:rgba(0,0,0,0.35)).
The issue arises when I apply the following styles:
#upSide{
position:fixed;
width: 80%;
}
#rightSide{
width:20%;
float:right;
position:relative;
}
#mainFrame{
height:100%;
overflow:auto;
}
Everything works as expected, except for the fact that the scrollbar within #mainFrame appears behind #upSide. Do you have any suggestions on how to resolve this?