Hi everyone,
I've used the template feature in dreamweaver to create a site. The site contains conditional comments to feed a separate stylesheet to internet explorer browsers. The css files are stored in a css directory that sits in the main site directory. Some of the web pages are located in the main site folder and others are nested within subdirectories. Since all pages in the site need to reference the css file located in the css directory, the file path in the conditional comments within the template will have to be different depending on where the subpages exist. I tried putting the conditional comments within an editable region in the template so I could change the file path as needed in the pages themselves but because dreamweaver adds template comments like this:
<!-- InstanceBeginEditable name="head" -->
<!--[if lt IE 7]>
<link href="../css/win_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!-- InstanceEndEditable -->
...the browser isn't rendering the code.
Can someone tell me how I can get around this problem?
Appreciate any help.
I've used the template feature in dreamweaver to create a site. The site contains conditional comments to feed a separate stylesheet to internet explorer browsers. The css files are stored in a css directory that sits in the main site directory. Some of the web pages are located in the main site folder and others are nested within subdirectories. Since all pages in the site need to reference the css file located in the css directory, the file path in the conditional comments within the template will have to be different depending on where the subpages exist. I tried putting the conditional comments within an editable region in the template so I could change the file path as needed in the pages themselves but because dreamweaver adds template comments like this:
<!-- InstanceBeginEditable name="head" -->
<!--[if lt IE 7]>
<link href="../css/win_ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!-- InstanceEndEditable -->
...the browser isn't rendering the code.
Can someone tell me how I can get around this problem?
Appreciate any help.