I just installed cf10, in developer mode with the stand alone server, on my window7 machine. I can access the admminstrator/index.cfm or homepage.cfm from CF and they view fine. When I access one of my previously generated index.cfm page, none of my external css stylesheet settings work. Infact I tried adding the css setting directly and linked an image directly, nothing is showing.
This is my path: C:\ColdFusion10\cfusion\wwwroot\CFIDE\HTML\clarkmedia\index.cfm
What am I doing wrong?
To start with, CFIDE is a ColdFusion system directory. So you should not be developing code in it. I would strongly suggest you move your code, that is, the HTML directory, one level lower, to:
To view that page, direct the browser to
Now, suppose your style sheet and image are, respectively, C:\ColdFusion10\cfusion\wwwroot\HTML\clarkmedia\style\myStyle.css and C:\ColdFusion10\cfusion\wwwroot\HTML\clarkmedia\images\myPic.jpg. Then you could use something like
<link rel="stylesheet" href="/HTML/clarkmedia/style/myStyle.css" type="text/css">
Europe, Middle East and Africa