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  
> style sheet to work.  The images are located:
> root>assets>images>css
>
> index.html in the root directory links to the style sheet at:
> <link rel="stylesheet" type="text/css" href="assets/stylesheets/ 
> style.css" />
>
> The image reference in the style sheet is as follows:
> background: url('assets/images/css/a47.gif') no-repeat;
>
> But the images are not showing up.  I'm pretty sure the style sheet  
> is being applied, so I assume it is the image path.  Is the path  
> relative to the page calling the style sheet, the style sheet, or  
> something else.
>
> I am not sure where the pages are going to end up, so I would like  
> the paths to not be absolute.
>
> Thanks!
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:289711
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to