I am new to HTML, Javascript, and/or CSS and I am trying to get a list to appear in an 'outer' box when a checkbox is checked in an 'inner' box.
The code for the jsfiddle is at:
https://jsfiddle.net/z6prq7a8/1/
and from there, one can see the .inner CSS code as:
.inner {
width:800px;
height:800px;
margin-left:auto;
border:1px solid #000;
position:relative;
}
I have created two boxes, one inner, and one outer, and when I click on the checkbox in the 'inner' box, I want a list to appear in the 'outer' box. I believe I have the code correct, but when the list appears, the 'inner' box shifts downwards. How would I go about fixing this so that when I click the checkbox, the 'inner' box does not shift, and everything remains in the same place as when one loads the page?

