Question

I'm using Dreamweaver CS5 as my editor for my code, I disabled a lot of features to make is at basic as possible, because I only need Syntax validation and Dreamweaver code color schemes. I can't find the feature to to auto organize a code, is it possible? if yes could you tell how to achieve it?

For example organizing this code

<div id="wrapper">
   <div id="content">
      <p>Content

      </p></div>
  </div>

Into this more clean version

<div id="wrapper">
    <div id="content">
        <p>Content</p>
    </div>
</div>
Was it helpful?

Solution

Commands > Clean Up XHTML

Source

OTHER TIPS

Click on Commands and then click on Apply Source Formatting. DONE!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top