-1
body {
margin: 0;
width: 100%;
background-color: #292929;
}
.holder {
width: 66%;
height: 330px;
background-color: #412A22;
position: relative;
-webkit-box-shadow: 2px 2px 2px 0px #000000;
-moz-box-shadow: 2px 2px 2px 0px #000000;
box-shadow: 2px 2px 2px 0px #000000;
display: inline-block;
}
.holder:before {
content: '';
position: absolute;
top: 0; left: 0;
border-top: 50px solid #292929;
border-right: 50px solid #412A22;
width: 0;
}
.sidething {
float: left;
width: 100px;
display: block;
}
\t <div class="main">
\t <div class="holder">
\t \t <div class="holder-imgs">
\t \t </div>
\t \t <div class="contact"> \t \t \t
\t \t </div>
\t </div>
\t <img class="sidething" src="Layer%203.png">
\t </div>
這是我的CSS和HTML,什麼我basicly需要的是中心組圖像和DIV中頁面中間。下面是它看起來像圖像:提前