|
|
#1 |
|
Silver Member
![]() Join Date: Feb 2011
Posts: 191
|
I'm working on a site that uses pages generated from a template I made in dreamweaver. Dreamweaver automatically stores this template in it's own folder (root folder > templates > mainTemplate) and I have it link to my CSS files.
For some reason, the template stores the file location of my CSS files as their location on the local machine - "file:///C|/Users/jlonganecker/Documents/New CVCN Website/new CVCNWebsite just html/CVCN.css" This prevents the website from finding the CSS document once it's uploaded to the server. Is this a common error?
__________________
http://www.joshualoves.com/ |
|
|
|
|
|
#2 |
|
Silver Member
![]() Join Date: Feb 2011
Posts: 191
|
Update: The template stopped updating the pages that were using it, so after changing the file location to be relative to the site folder, and manually updating all the pages, it works like it's supposed to. I'm unsure why the template stopped updating most of the pages, though?
__________________
http://www.joshualoves.com/ |
|
|
|
|
|
#3 |
|
Bronze Member
![]() Join Date: Dec 2010
Posts: 62
|
If you don't set up your site then Dreamweaver will find the path which will be relative to the storage. To get around this you need to set up the following:
http://www.learnwebdesignonline.com/...weaversite.htm (ignore from 3 onwards) Once you have done this all the image/css/script paths should be relative to the root (site) folder. I would suggest that you use absolute paths if keywords feature in your url. It may help with the SERPS. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|