House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Mach-II

Img/CSS paths in Mach-II

Author:
Merritt Chapman
02/09/2004 10:50 AM

I have a quick question regarding the use of images and css files within subfolders within the ‘views’ folder in the mach-ii framework.  How can I get image and external css files to display within the mach-ii framework without adding ‘view’ to each of the folder paths.  For example, a file that is normally linked ‘images/img1.jpg’ will display fine within dreamweaver, but not within the framework unless I append ‘view’ to the beginning of the path, ‘view/images/img1.jpg’.  This also presents a problem with a site that relies on CSS for rendering purposes. Is there any way to tweak the way a site is designed with mach-ii to allow css and images paths to work locally during development AND once the files are posted to a webserver and rendered through mach-ii? Thanks in advance!


Search mach-ii

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29