geoffdavis
asked on
dreamweaver dwt and editing css files
Hello Experts,
I purchased a website template for my boys football team. I'm using dreamweaver to edit the dwt and html files. Everything is working fine for the main site but I'm at the point where I need to add half a dozen styles in the css file. I added them into style.css, the file that came as part of the template, and to a new css file. Regardless where I add them, they do not show up in the dreamweaver properties page as an style I can select onto.
The css files are being loaded from the dwt file, which may be the problem.
Any assistance would be appreciated.
Thanks,
Geoff
I purchased a website template for my boys football team. I'm using dreamweaver to edit the dwt and html files. Everything is working fine for the main site but I'm at the point where I need to add half a dozen styles in the css file. I added them into style.css, the file that came as part of the template, and to a new css file. Regardless where I add them, they do not show up in the dreamweaver properties page as an style I can select onto.
The css files are being loaded from the dwt file, which may be the problem.
Any assistance would be appreciated.
Thanks,
Geoff
The path in the template .dwt points to the css file being used. This is the css that you need to change if you want it to apply across the site.
Note that you probably want an absolute path to the CSS file rather than a relative path as the template could be used in various folders.
http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c42a.html
http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c42a.html
ASKER
This is what I'm using now and the file is being found and loaded:
<link href="../style.css" rel="stylesheet" type="text/css" />
I tried this too?
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="../style.css" rel="stylesheet" type="text/css" />
I tried this too?
<link href="style.css" rel="stylesheet" type="text/css" />
Try this assuming the css is in the root folder (i.e. no sub folders).
<link href="/style.css" rel="stylesheet" type="text/css" />
<link href="/style.css" rel="stylesheet" type="text/css" />
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was an error on my part.