Skip to main content
Participating Frequently
October 31, 2017
Answered

Open/Close tag not indented same

  • October 31, 2017
  • 1 reply
  • 1044 views

Using Dreamweaver CC, after entering an opening tag the closing tag is automatically inserted. After placing my cursor between the tags and pressing enter, the closing tag is indented instead of lining up with the opening tag position. Is there a way to change the behavior?

This topic has been closed for replies.
Correct answer Nancy OShea

Personally I find HTML code indenting a waste of time and space.  Code errors can adversely effect browser rendering but indenting has no impact either way.

If indented code makes you happier, use Apply Source Formatting from your Common Toolbar.  Whatever settings you have defined in Tag Libraries will be applied to your source code.

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
October 31, 2017

Personally I find HTML code indenting a waste of time and space.  Code errors can adversely effect browser rendering but indenting has no impact either way.

If indented code makes you happier, use Apply Source Formatting from your Common Toolbar.  Whatever settings you have defined in Tag Libraries will be applied to your source code.

Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
October 31, 2017

I agree, but currently the code format need a lot of improvment and polish...