Browse files

Using a relative path to a resource

Using a relative path to an image nables the image to be
successfully fetched by the browser when served from the
classpath while the app is mounted at a non-root context.
  • Loading branch information...
1 parent d18e315 commit f4edc1f7bccf0483cbc7abe20b34717b4acf8384 @jcrossley3 jcrossley3 committed Jan 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/public/css/noir.css
2 resources/public/css/noir.css
@@ -1,5 +1,5 @@
body {
- background: url(/img/noir-bg.png);
+ background: url(../img/noir-bg.png);
color: #d1d9e1;
padding: 60px 80px;
font-family: 'Helvetica Neue',Helvetica,Verdana;

0 comments on commit f4edc1f

Please sign in to comment.