CSS within templates
I have an old site (>250 pages) built using a muddle of DW templates and
libraries. I want to change the general layout and rationalise the templates.
I've done this experimentally using scripts to determine the contents of the
old editable regions and writing the text into a new files with empty editable
regions. Inside the template for these files there is a a link to a css file:
<link href="wp1.css" rel="stylesheet" type="text/css">
Because the files are in multiple folders, the path is wrong but the running
the template page update correctly alters the path, e.g.
<link href="../wp1.css" rel="stylesheet" type="text/css">
This is great and the pages view correctly in a browser but not in DW8 design
view.
If I move the link outside the editable region, all is fine.
Any ideas gratefully received!
|