Il mer, 2002-01-30 alle 23:41, Luke Opperman ha scritto:
> Hi there -
> 
> Let's see if I can describe my problems.
> 
> First, imaginary directory structure:
> 
> Context1/
>          styles/
>                 sitestyles.css
>          Main.py
>          staff/
>                Welcome.py
>                Email/
>                      Send.py
> 
> Now, say all these pages (Main.py, Welcome.py, Send.py)
> inherit from my SitePage, which defines writeStyleSheet()
> to include the sitestyles.css file. How do you manage the
> relative nature of this URL as the pages descend into
> directories?
[snip]
> Or some third option that hasn't occurred to me yet. How do
> you deal with this?

absolute paths to images and stylesheets. any other solution i tried
(and you listed above) seemed kludgy to me.

-- 
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        [EMAIL PROTECTED]
INIT.D Developer                                           [EMAIL PROTECTED]
   God is real. Unless declared integer. -- Anonymous FORTRAN programmer

Attachment: msg01628/pgp00000.pgp
Description: PGP signature

Reply via email to