image - CHM vs css+background -


i create chm file. decorate use css , option 'background'. images saved in img. css setting header this:

.data{     width:100%;     height:80px;     display:inline-block;     background:#fff url(/img/bg_fill.png) repeat-x; } 

html code:

<div class="data">hello world</div> 

in html ok, when make chm file background not have background. why? maybe path wrong? have simular problem?

that's problem img path. suspect img folder in same directory css , html files located. if so, try remove first slash in image url: url(img/...


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -