<html>
<head>
<style>
#contain_main {background-color:black;
width:100%;
height:auto;}
#main {width:100%;
height:700px;
background-image:url("https://www.sappun.co.kr/shopimages/sappun/0090040002602.jpg?1581389206");
background-repeat:no-repeat;
background-position:center center;
background-color:#dbdbdb;}
</style>
</head>
<body>
<div id="contain_main">
<div id="main">
</div>
</div>
</body>
</html>
Is there a way to have the black #contain_main box overlay the #main div box? I've tried using z-index, position, and display properties but nothing seems to work. Any tips on how I can resolve this would be highly appreciated! :)