Re: style sheet image paths

2009-02-25 Thread Erika L. Walker
Yeah I dont understand that either... the answers gave him what he needed ... On Wed, Feb 25, 2009 at 9:10 AM, Ray Champagne wrote: > > Why?  What was wrong with the answers we gave?  Using absolute paths > is a maintenance nightmare waiting to happe ~~~

Re: style sheet image paths

2009-02-25 Thread Michael Grant
Ah, ya you're totally right. I don't know why I figured you were referring to the leading slash as absolute. I blame the new baby and my lack of sleep. ;-) On Wed, Feb 25, 2009 at 9:40 AM, Ray Champagne wrote: > > No, that is exactly what I do. I think we're talking about the same > thing, I j

Re: style sheet image paths

2009-02-25 Thread Ray Champagne
No, that is exactly what I do. I think we're talking about the same thing, I just don't call it "absolute paths". To me, absolute is when you hardcode the url into the link, ie, http://mydomain.com/images... To me, using leading slash isn't "absolute" it is still "relative", just relative to th

Re: style sheet image paths

2009-02-25 Thread Michael Grant
> > Using absolute paths is a maintenance nightmare waiting to happen. How so? Using the leading slash is IMO the easiest most trouble free way to do paths. Mind you I've never worked on a site that had a changing folder architecture for images and styles, and hopefully I never will. Every site

Re: style sheet image paths

2009-02-25 Thread Ray Champagne
Why? What was wrong with the answers we gave? Using absolute paths is a maintenance nightmare waiting to happen. On Wed, Feb 25, 2009 at 7:18 AM, Matthew Smith wrote: > > Thanks for the help, guys.  I guess I will just use the absolute paths.   > Counterintuitive that it is relative to the sty

Re: style sheet image paths

2009-02-25 Thread Matthew Smith
Thanks for the help, guys. I guess I will just use the absolute paths. Counterintuitive that it is relative to the stylesheet. I would think it would be relative to the calling document. ~| Adobe® ColdFusion® 8 software 8 i

Re: style sheet image paths

2009-02-24 Thread Ray Champagne
It might be a better idea to make your paths relative to the web root by using the '/' in front. As in /assets/images/css/a47.gif instead of assets/images/css/a47.gif On Feb 24, 2009, at 7:53 PM, Matthew Smith wrote: > > I'm a bit dense at paths and can't get the references to images in a >

RE: style sheet image paths

2009-02-24 Thread Sandra Clark
Images in a style sheet are relative to the style sheet. -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Tuesday, February 24, 2009 8:54 PM To: cf-community Subject: style sheet image paths I'm a bit dense at paths and can't get the references to

Re: style sheet image paths

2009-02-24 Thread Zaphod Beeblebrox
image references in the stylesheet are relative to the location of the stylesheet. On Feb 24, 2009, at 7:53 PM, Matthew Smith wrote: > > I'm a bit dense at paths and can't get the references to images in a > style sheet to work. The images are located: > root>assets>images>css > > index.ht

Re: style sheet image paths

2009-02-24 Thread Erika L. Walker
try background: url('../assets/images/css/a47.gif') no-repeat; On Tue, Feb 24, 2009 at 8:53 PM, Matthew Smith wrote: > background: url('assets/images/css/a47.gif') no-repeat; ~| Adobe® ColdFusion® 8 software 8 is the most impo

style sheet image paths

2009-02-24 Thread Matthew Smith
I'm a bit dense at paths and can't get the references to images in a style sheet to work. The images are located: root>assets>images>css index.html in the root directory links to the style sheet at: The image reference in the style sheet is as follows: background: url('assets/images/css/a47.g