html - Weird CSS issue -
i've been having weird css issue trying repeat image header , reason not working, here code, doing wrong?
body { background:url(images/bg.png) repeat 0% 0%; font-family: 'helvetica neue', arial, verdana, sans-serif; margin: 0; padding: 0; } /* part not working showing header in original size trying make repeat*/ #header { width: 100%; background: url(header.png) repeat-x; height:44px; } html: <div id="wrap"> <div id="header"> </div> </div>
it's path. header.png
in same path css document?
if not, use relative pathing, ex:
width: 100%; background: url(../header.png) repeat-x; height:44px;
add ../
each sub folder in image lies.
Comments
Post a Comment