PDA

View Full Version : Dreamweaver CS3 rewrites my code



midnite
September 21st, 2008, 05:25 AM
man, i have this annoying issue. whenever i write code in dreamweaver for no reason it seems to rewrite it after i publish or when i close it and open it later. i can't figure out why. here's an example... if i write:



<div>
my stuff here
</div>


later on dreamweaver might change it to:



<div>
my stuff here</div>


note that the tab i have before "my stuff here" now becomes a bunch of seperate spaces. ANNOYING. also changing the location of my closing tags. may not seem like a big deal but when you have alot of code it really is a big deal. especially the tabs to spaces thing.

without getting into the debate about not using dreamweaver (not an option), is there a setting to stop it from doing that? i looked all over the preferences and i don't see anything that would effect this.

any help would be GREATLY appreciated! :beer:

Templarian
September 21st, 2008, 12:24 PM
Hmm... Unless your editing the text in the WYSIWYG view it shouldn't be reformatting anything. Make sure you are always on code view, maybe even clicking on the design view is causing it.

I know you pain man, a few of the really old sites I work on at work are based on Dreameweaver Templates and the such, luckily now everything is switched to wordpress