dreamweaver dwt and editing css files

geoffdavis
geoffdavis used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

Author

Commented:
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" />
Try this assuming the css is in the root folder (i.e. no sub folders).
<link href="/style.css" rel="stylesheet" type="text/css" />
Thanks for the replies Number-1

This is the part where I have a conversation with myself. Do I present to the group that I'm an idiot or not? Hmm. What to do.

My style didn't have a dot in front of it. Now it does and now I can use them.

Geoff

Author

Commented:
It was an error on my part.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial