# Dreamweaver CS3 rewrites my code

**URL:** <https://forum.kirupa.com/t/dreamweaver-cs3-rewrites-my-code/271308>\
**Category:** web dev\
**Created:** [September 21, 2008, 9:25am UTC](https://forum.kirupa.com/t/dreamweaver-cs3-rewrites-my-code/271308 "2008-09-21T09:25:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![midnite](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@midnite](https://forum.kirupa.com/u/midnite)\
**Post date:** [September 21, 2008, 9:25am UTC](https://forum.kirupa.com/t/dreamweaver-cs3-rewrites-my-code/271308/1 "2008-09-21T09:25:48Z")

</div>

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:

```auto

<div>
     my stuff here
</div>

```

later on dreamweaver might change it to:

```auto

<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! 🍺
