HTML
<div class="cs1">
<span class="cs2">Label</span>
<span class="cs3"><img src="icon.png" /></span>
<span class="cs4">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span>
</div>
CSS
.cs1{
width:600px;
height:auto;
background-color:#f00;
overflow:hidden;
}
.cs2{
width:170px;
float:left;
height:100%;
}
.cs3{
width:30px;
float:left;
}
.cs4{
width:400px;
float:left;
}
上面的代码,不同长度的输入值。那么如何在不使用填充的情况下垂直对齐 span 中的值?