Pretty hard to tell without seeing the code or web site. One example might be a src or url that points to something on a C: drive. One computer might have the file on the C: drive, the other might not.
Like tracknut said, it's pretty hard to know what's happening without seeing some code: but, another possibility is that on the computer that works, the site is running at http://localhost/, and on the computer that doesn't work the site is attempting to run from http://localhost/yourwebsite/. This could cause all the anchor links, link, and script tags to look at the wrong spot.
You really have not given enough info to reliably diagnose the cause, but another candidate for code working on one computer and not another is capitalization. Windows does not care if a file is called "MyPage.html" or "mypage.html", both will work. But Linux is case sensitive, so the links and src code can fail if a file or path is not precisely correct. Oh, and it's best to avoid spaces in file and path names.
Thank you for replies.
Code in each place is the same and the .css and .js files are in the same directory as the .htm and .cfm files referencing them. The .css and .js are being seen in development but not in live.
Could this have something to do with user accounts and priviledges ?
Again, the easiest way to diagnose the problem is to load the page that doesn't work in your browser and use "View Source" to examine the source code for the page. That will show you the URLs that the browser is trying to use to find these external files.
If you used absolute addressing (ie. 'http://www.example.com/css/styles.css'), then the domain name is probably incorrect. If you used relative addressing (ie. '/styles/styles.css'), then there's an issue with the relative paths. In either case, it should be easy enough to spot and correct the problem.
I am totally agree with what you said,but my English is poor, sometiomes I don't know how to express my feeling,I just want to make some friends who can help me in my English and share the happiness with each other.