我一直有一个奇怪的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