Getting back to some old mail...

On 28 Dec 2005 13:33:34 -0200, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>
> Kevin Dangoor <[EMAIL PROTECTED]> writes:
>
> > I'd also recommend using std.url("/static/css/styles.css") as a matter
> > of course. It's not critical at all, but it will make the application
> > deployable under different paths of a webserver, and possibly
> > alongside other apps.
>
> And how one would plan wthis when dealing with CSS?  For example, I have some
> instructions on a CSS file that puts an image on required fields.  This image
> is in /static/images/.  Should I always use relative URLs?  Should I always
> use absolute URLs?

If you can get away with relative URLs, that's the easiest. Otherwise,
the choices for absolute URLs would be:

1) just use absolute URLs but don't count on being able to relocate the app.
2) make your CSS file dynamically generated

Kevin

Reply via email to