0

is there any quick and easy way to convert code from looking like this:

<style>
element { property:value; property:value; 
property:value; 
property:value; }

element { property:value; property:value; property:value; property:value; property:value; }
element {property:value; property:value; property:value; 
property:value; 
property:value; property:value; 
}
</style>
<div>
content content content <div> content </div>
  </div>

to being nice and neat like this:

<style>

element { property:value; property:value; property:value; property:value; }

element { property:value; property:value; property:value; property:value; }

element { property:value; property:value; property:value; property:value; }

</style>

<div>
content content content 
      <div> 
          content 
      </div>
</div>

it would also make life easier if there was a button to put css in alphabetical order

4

2 回答 2

1

请参阅这些类似的问题/答案:

我自己没有安装 Dreamweaver,但根据这个答案,应该可以使用以下命令:

  • 命令 > 应用格式
  • 命令 > 清理 HTML
于 2012-09-09T15:39:09.457 回答
0

尝试:

Command -> Apply Source Formatting
于 2012-09-09T15:39:09.033 回答