我正在尝试布置一组水平对齐的 div,下面有一个标题,但它的显示如下:
这是 jsfiddle:http: //jsfiddle.net/4cTSK/
我需要做什么才能让 div 出现在标题上,如下所示?
<div class="horizontal-div-container even-spacing-signature">
<div>
<span>Signed by the Client: ______________________ </span>
</div>
<div>
<span>Signed by the Engineer: _____________________</span>
</div>
</div>
<div class="horizontal-div-container even-spacing-signature">
<div>
<span>Date: ______________________ </span>
</div>
<div>
<span>Date: _____________________</span>
</div>
</div>
<h1>
Appendix 3, Client Information
</h1>
h1 {
background: #000096;
color: #FFF;
text-align: center;
font-weight: bold;
font-size: 1em;
}
.horizontal-div-container div {
float: left;
clear: none;
}
.even-spacing-signature div
{
font-weight: bold;
width: 50%;
}