Re: T5.1 CSS + URL not loading images

2009-07-28 Thread Thiago H. de Paula Figueiredo
Em Tue, 28 Jul 2009 18:07:01 -0300, Michael Gentry escreveu: I changed my BODY tag CSS to read: background: url(../images/foo.jpg) repeat-x left top; and it worked. No idea why that is needed, though. I guess why: when you use a *relative* path in CSS, it is relative to the CSS file,

Re: T5.1 CSS + URL not loading images

2009-07-28 Thread Michael Gentry
I changed my BODY tag CSS to read: background: url(../images/foo.jpg) repeat-x left top; and it worked. No idea why that is needed, though. mrg On Tue, Jul 28, 2009 at 4:48 PM, Michael Gentry wrote: > I should've added that if I try accessing > http://localhost:/t51/assets/ctx/0.0.1-SNA

Re: T5.1 CSS + URL not loading images

2009-07-28 Thread Michael Gentry
I should've added that if I try accessing http://localhost:/t51/assets/ctx/0.0.1-SNAPSHOT/css/images/img01.jpg directly, I get: Unable to locate asset 'context:css/images/img01.jpg' (the file does not exist). Thanks again, mrg On Tue, Jul 28, 2009 at 4:46 PM, Michael Gentry wrote: > Hi all

T5.1 CSS + URL not loading images

2009-07-28 Thread Michael Gentry
Hi all, I'm just getting started with T5.1 (used T4 a while back).  I have a test application running at http://localhost:/t51 and I have a stylesheet which has as part of the BODY tag:   background: url(images/foo.jpg) repeat-x left top; When I load the page, the stylesheet is being loaded