I am struggling with my CSS skills and could really use some assistance. I have created a fiddle to showcase my issue:
http://jsfiddle.net/naini/mBMq3/6/
.contentBack{
width : 300px;
border : solid 30px;
position :absolute;
top :10;
}
.masterDiv{
background-color: grey;
border: solid 1px;
width: 80%;
height:400px;
margin-top: 60px;
text-align: center;
padding : 10px;
position : relative;
}
I want the "contentBack" (with the thick black border) div to be contained within the "masterDiv" (grey background). However, I do not want to set "contentBack" to position:relative because I need the menu to overlap it rather than push it to the right when the menu appears.
Is there another solution for this design challenge?
P.S.: Should I include the entire JSFiddle content in this question?