我有三个图像,我想在一行中并排显示。
这是HTML:
<div id="client_logos">
<img style="display: inline; margin: 0 5px;" title="heartica_logo" src="https://s3.amazonaws.com/rainleader/assets/heartica_logo.png" alt="" width="150" height="50" />
<img style="display: inline; margin: 0 5px;" title="mouseflow_logo" src="https://s3.amazonaws.com/rainleader/assets/mouseflow_logo.png" alt="" width="150" height="50" />
<img style="display: inline; margin: 0 5px;" title="piiholo_logo" src="https://s3.amazonaws.com/rainleader/assets/piiholo_logo.png" alt="" width="150" height="50" />
</div>
这是CSS:
#client_logos { display: inline-block; }
出于某种原因,它只显示两个并排的徽标。不知道出了什么问题。有任何想法吗?
网址:http ://rainleader.com/who-we-are/
见截图。