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 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:289707 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5