I am trying to put a div on top of another.
To see what I want to achieve, check this image: https://img1.etsystatic.com/059/1/8585976/il_570xN.749758093_cccu.jpg
I want my grey left div on top of the pink header.
Here is my HTML so far:
<body>
<div id="header"></div>
<div id="left"></div>
<div id="right"></div>
<div id="footer"></div>
</body>
And my CSS:
#header {
width: 106%;
background-color: #E8D5C6;
height: 100px;
margin-top: -8px;
margin-left: -8px;
}
#left {
width: 15px;
background-color: #919191;
height: 400px;
margin-left: -8px;
}
This is putting my pink header on top of the grey left one, and I want it to be other way around, just like in the photo I showed you: https://img1.etsystatic.com/059/1/8585976/il_570xN.749758093_cccu.jpg