HTML
<!--start of steps-->
<div id="stepscontainer">
<div class="step">
<p>STEP 1</p>
<p style="font-size:12px;">SHARE US WITH YOUR FRIENDS</p>
</div>
<div class="step">
<p>STEP 2</p>
<p style="font-size:12px;">COMPLETE A SHORT OFFER</p>
</div>
<div class="step">
<p>STEP 3</p>
<p style="font-size:12px;">ENJOY YOUR FREE RUNESCAPE MEMBERSHIP</p>
</div>
</div>
<!--end of steps-->
CSS
.step{
width:250px;
height:200px;
background-color:#FFF;
color:#121001;
display:inline-block;
padding-right:20px;
margin-right:10px;
margin-left:10px;
}
.step p{
font-size:30px;
}
#stepscontainer{
height:200px;
width:900px;
position:relative;
top:-610px;
text-align:center;
}
在步骤中它向上移动了一点,因为有两个行,即使有超过一行的文本,有没有办法让它们保持对齐?