Re: [css-d] Absolute image path in CSS

2005-12-02 Thread David Dorward
On 02/12/05, Jacky <[EMAIL PROTECTED]> wrote: > The problem is that there are quite a number of css files and rules that > need reference to the image. By using hard-coded url, it would be hard to > maintain when the location is changed. > 1. use server-side script to generate CSS files, so that t

Re: [css-d] Absolute image path in CSS

2005-12-02 Thread Rimantas Liubertas
2005/12/2, Jacky <[EMAIL PROTECTED]>: > 1. use server-side script to generate CSS files, so that the image path can > be stored in one variable. > 2. move also the CSS files to the image location, so the css files can still > use relative reference. The only change is the import location in the HTM

[css-d] Absolute image path in CSS

2005-12-02 Thread Jacky
Hello all, There are some CSS image path management problems and would like to ask for suggestion. Here is the file structure http://host/app/ http://host/app/css/layout.css http://host/app/img/abc.jpg Originally, in my app, the CSS files pointing to a relative image path (e.g. background: url(