請檢查下面的鏈接:對齊IMG和跨度
在這裏,我想對齊跨度文本如消息和照片,使得它應該出現在中間WRT的圖標。
任何幫助將是非常有用的
下面是代碼:
<div style="padding-left:20px">
<img src="icons/trophy1.png" > <span style="display:inline-block;padding- bottom:5px;"> Messages</span>
<br>
<img src="icons/trophy1.png" > <span style="display:inline-block;padding-bottom:5px">Photos</span>
</div>
您能插入您當前使用的代碼嗎? –
@RobinV。 :我已經用我的代碼 – Deva