Images in a css file are relative to the css file itself, not the index file.

The link to the css file is relative to the url  location of the page that 
calls it.

William Seiter (mobile)

Have you ever read a book that changed your life?
go to:  http://www.winninginthemargins.com
and use passcode: GoldenGrove

-----Original Message-----
From: "Scott Stewart" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: 5/1/2008 7:57 AM
Subject: CSS page calls and image calls from a CFC

Im rebuilding an application using components. My file system hierarchy
looks like this:

Root: HYPERLINK
"http://127.0.0.1:8301/sitename"http://127.0.0.1:8301/sitename

 

Inside sitename: 

Actions
CFC
Images
CSS
Scripts

 

Index.cfm and application.cfc are in the root. Index.cfm calls a component
called layout.cfc, which lives in the cfc directory.

Layout.cfc contains a header and footer function, the header calls a CSS
template that lives in the CSS directory.

 

When I call the css template in the href of the link tag, is it relative to
the location of index.cfm or layout.cfc?

 

Thanks

 

sas

 

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

4405 Oakshyre Way

Raleigh, NC. 27616

(919) 874-6229 (home)

(703) 220-2835 (cell)

 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.6/1404 - Release Date: 4/29/2008
6:27 PM
 




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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304610
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to