Discussion: CSS within templates
Afficher un message
Vieux 30/06/2008, 18h51   #1
SteveKimpton
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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!


  Réponse avec citation
 
Page generated in 0,05185 seconds with 9 queries