#42
Solved
Images don't show up when deployed in a sub-directory
Reported by Nikhil Gupte on Ajax Scaffold · 09/08/2006 14:04:02
- Assigned to:
- Nobody
- Priority:
- Normal
- Status:
- Solved
- Category:
- None
- Version:
- 3.1.5
If the app is deployed inside a sub-directory within the DOCUMENT_ROOT, the images defined in ajax_scaffold.css don’t resolve properly.
To fix, I suggest using relative paths in the css file. This would always work since the path is relative to the css file and not the html page which includes the css file.
For example change
background: url(/images/add.gif) 1px 50% no-repeat;
To
background: url(../images/add.gif) 1px 50% no-repeat;
Loading comments...