我想調整這個代碼,以使標題文本框與其他三個文本框下方排列,但我無法得到它的權利標題文本框與其他框對齊
body {
background: #ccc;
font-family: 'Arial', sans-serif;
}
div {
position: relative;
margin: 0px auto;
margin-bottom: 30px;
border: 1px solid #333;
}
.container-head img {
display: block;
margin: 0px auto;
width: &60
}
.container-first {
background: #eee;
}
.container-second {
background: #fff;
}
.container-third {
background: #eee;
}
.container-first,
.container-second,
.container-third {
padding: 10px 10px;
width: 760;
}
<div class="container-head">
<img src="http://media.eloqua.com/designimages/new-oracle-logo2.png" />
</div>
<div class="container-first">
<p>first</p>
</div>
<div class="container-second">
<p>second</p>
</div>
<div class="container-third">
<p>third</p>
</div>
具體什麼錯在何處?請幫助澄清你想達到的目標。 – showdev