Dreamweaver CS3 rewrites my code

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: