我一直有一個奇怪的CSS問題,試圖重複圖片標題,由於某種原因,它不工作,這裏是代碼,我做錯了什麼?奇怪的CSS問題
body {
background:url(images/bg.png) repeat 0% 0%;
font-family: 'Helvetica Neue', Arial, Verdana, sans-serif;
margin: 0;
padding: 0;
}
/* this part is not working its only showing the header in its original size I am trying to make it repeat*/
#header {
width: 100%;
background: url(header.png) repeat-x;
height:44px;
}
HTML:
<div id="wrap">
<div id="header">
</div>
</div>
你能把你的例子發佈到jsfiddle嗎? – chrisjlee