Closed alfonsodg closed 10 years ago
From sebastianovide@gmail.com on August 12, 2009 02:50:58
from mailing list:
I never had this problem. If the css is in : /init/static/filename.css, then url(images/ myimage.jpg) should translate in /init/static/images/myimage.jpg
which browser are you using?
Massimo
tried with
SeaMonkey 1.1.15 Firefox 3.5 Firefox 3.0
From sebastianovide@gmail.com on August 12, 2009 04:10:54
You are right Massimo. The CSS works fine. So we can close the bug as "not a bug" or "cannot reproduce" etc...
The images missing were not part of the CSS Template... they are in the HTMLs...They include images using relative paths everywhere....
<img src="images/pic_1.jpg" .....
and this is translated as http://local/images/pic_1.jpg
From sebastianovide@gmail.com on August 12, 2009 04:46:04
What steps will reproduce the problem? 1. add an image to a css file in static/(images/myimage.jpg)
What is the expected output?
the image should be displayed (the url should be relative to the directory that contains the css)
What do you see instead?
the url loses the application and controller name: (http://localhost/images/myimage.jpg
What version of the product are you using?
Version 1.65.11 (2009-08-04 16:42:46)
On what operating system?
Linux Please provide any additional information below. example of css code:
background: url(images/myimage.jpg) no-repeat;
Original issue: http://code.google.com/p/web2py/issues/detail?id=48