Seems that the total URl is not constructured properly (absolute reference) url(images/bodyBg.jpg) Did you try this url(../images/bodyBg.jpg)? (add ../ )
On 22 sep, 06:50, Andrew Quach <[email protected]> wrote: > Dear All, > > I am a newbie in GAE and I have just started to build my first > application. I have attach a static css file and inside this css file > (main.css), I have done the ref like below: > > body{margin:0px; padding:0px; background:#fffde4 url(images/ > bodyBg.jpg) repeat-x} > > which attach the image bodyBg.jpg in folder images. > > in the conf file app.yaml i have already set like below: > > handlers: > - url: /stylesheets > static_dir: stylesheets > > - url: /images > static_dir: images > > - url: /.* > script: homepage.py > > The above referred image (bodyBg.jpg) cannot appear. > > But if I add the style directly in the heading part of my html file, > the image can work. > > Can you help me to explain this incidence? > > Thanks a million!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
