>
> I think you need to do cfinclude to do what you are trying to do.  CF
> won't
> process the file unless you cfinclude it.


Not true. What he's trying to do is fine. To the web server, it looks like
any old http request for the file, and will hand it off to CF properly.

And, I bet there's some restriction on using a .css extension when linking
> to a stylesheet, though I'm not sure.


Nope, the browser doesn't care what the file extension is.

A couple of thoughts:

1. Be sure the path you are using is correct. Keep in mind the path should
be relative to what the browser sees as the path (since it's the browser
that is loading the stylesheet), not the server-relative path from the
"parent" CFM template.

2. CSS is case-sensitive, so make sure the case of your style declarations,
and the class or id values in your page, are the same.

3. Make sure your CF code isn't throwing an error. Load the file directly by
itself (not using the <link>), or using cfinclude (if it relies on the
"parent" template for variables and such), and verify it's outputting what
you expect.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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

Reply via email to