Wednesday, January 05, 2005

Template + CSS in DreamweaverMX 2004

Something strange about embedding CSS in a Template. I figured out, by trial and error, that have the CSS in the same directory as the template cause the dynamic link update stop working. The CSS file reference will got inserted in the applied page staticly, which causes the CSS reference to fail. However, if I move the file and put it in a standalone directory (say, "/styleshsheet"), then the CSS reference wilc be updated in all the applied pages.

Strange.

P.S. Here's what I got from Dreamweaver support Forum:
Link

Never put stylesheets in the Templates folder. That's the source of your
problems.

The only thing that should be in the Templates folder is the *.dwt template
files....

--
Murray --- ICQ 71997575

0 Comments:

Post a Comment

<< Home