これが私のコードです
<div id="content_main2">
<div id="content_main2_left"><img src="../images/logo.png"></div>
</div>
css
#content_main2
{
width:800px;
height:200px;
}
#content_main2_left
{
float:left;
width:300px;
height:240px;
margin-top:-40px;
-webkit-border-radius:15px;
-moz-border-radius:15px;
border-radius:15px;
background:#817339;
}
私の結果
btdivの上にロゴを表示する必要があります。#content_main2
つまり、divの半分と。の残りの半分を意味し#content_main2_left
ます。どうすればいいですか?