對於我的生活,我無法得到爲什麼這個徽標不居中。請幫忙!無法獲取徽標到中心
<div id="header" style="width:100%;" >
<a href="index.html"><img id="logo" src="images/logo384x80.png"/></a></div>
和CSS
#header {
background-color:#222222;
height:50px;
margin-left:auto;
margin-right:auto;
}
謝謝你們倆。庫什的答案是合適的。 – Sash