I have a picture nested in two divs and I wanted to overlay a piece of tape in the corner of the picture.
I created a div for the tape image and positioned it at the bottom of the document with the following attributes:
#tape {
width: 100px;
height: 65px;
position:relative;
left: 25px;
top: -662px;
}
Here are the attributes of the picture:
#character-spotlight {
margin-left: 50px;
width: 250px;
height: 250px;
float: left;
z-index: 1;
}
Both of these divs are nested into:
#content {
width: 800px;
height: 1360px;
background-image: url(Cork.Board.png);
background-size: 100%;
float: left;
display: block;
}
Which is nested into:
#container {
width: 1024px;
height: 1600px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
display: block;
}
You can view the webpage here.
It works fine in Chrome but has issues in IE and Firefox. Any help would be appreciated.