我有这个 CSS:
<style type="text/css">
#box {
width:100%;
height:80px;
background-color:#eeeeee;
}
.box-inner {
width:80%;
margin:0 auto 0 auto;
text-align:center;
}
#text, #text a {
font-size:16px;
color:#F36F25;
margin:10px;
}
#text:hover, #text a:hover {
color:#666666;
text-decoration:none;
}
#text img {
vertical-align: middle;
margin-right:20px;
}
</style>
它当前显示图像和文本内联,但我有多个图像/文本在彼此下方。如何使所有图像在彼此下方的相同位置对齐?
这是一个小提琴:http: //jsfiddle.net/8dsTu/