我试图将两个图像并排居中,但由于某种原因,它总是将图像显示在彼此下方。有谁知道我怎样才能让它们居中并彼此相邻?
谢谢!
HTML 代码
<a href="mailto:olympiahaacht@hotmail.com">
<img id="fblogo" border="0" alt="Mail" src="http://olympiahaacht.be/wp-content/uploads/2012/07/email-icon-e1343123697991.jpg"/></a>
<a href="https://www.facebook.com/OlympiaHaacht" target="_blank">
<img id="fblogo" border="0" alt="Facebook" src="http://olympiahaacht.be/wp-content/uploads/2012/04/FacebookButtonRevised-e1334605872360.jpg"/></a>`
CSS 代码
#fblogo {
display: block;
margin-left: auto;
margin-right: auto;
height: 30px;
}