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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to