Click to See Complete Forum and Search --> : Stop DW 4 changing my pages


sgoku01
01-17-2003, 03:41 PM
I'm using Dreamweaver 4 for developping my site.
I use some templates, but when I load them in Dreamweaver, Dreamweaver automacilly change some things, so that the HTML-code is correct.

This is the code I want:
<html>
<head>

{META}
<title>{SITENAME} > {PAGE_TITLE}</title>

</head>

<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" alink="{T_BODY_ALINK}" vlink="{T_BODY_VLINK}"> (...)

But Dreamweaver does this:
<html>
<head>
</head><body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" alink="{T_BODY_ALINK}" vlink="{T_BODY_VLINK}">
{META}
<title>{SITENAME} > {PAGE_TITLE}</title>
How can I stop it??

Elizabeth
01-18-2003, 11:45 PM
Hmmm. that's quite perplexing since the <TITLE> tags should be in the <HEAD> part of the document, not the <BODY> part... so what it's doing isn't even correct.

And by default, Dreamweaver isn't supposed to automatically rewrite any file with the .asp, .php, or .cfm names.

Perhaps your preferences for rewriting files became tainted (I'm completely guessing here :) ) - try going to Edit -> Preferences -> HTML rewriting.

Let us know if you figure it out!

hth-

-Elizabeth