tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: docBase application directory
Date Sun, 19 Aug 2007 20:02:02 GMT
Well.. not exactly.  Per the CSS spec 
(http://www.w3.org/TR/CSS21/syndata.html#value-def-uri), if the url is 
in a separate css file, it's relative to the css file, not the page.

--David

Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeusdi,
>
> jeusdi wrote:
>   
>> when I load the HTML page, the
>> image isn't loaded.
>>     
>
> You need to use paths in your CSS that are relative to the page being
> loaded -- it's kind of a pain. You need to put the context path into
> your CSS, and not as a variable, unless you are serving dynamic CSS files.
>
> - -chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGyJw69CaO5/Lv0PARAgHVAJ46vMVrvyUjbSGaCbTXZJkdSfDcwwCfQqvK
> 4On1ONGoB4NrdVDBMHwCrSA=
> =u2OX
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message