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
Post a Comment