Copy link to clipboard
Copied
I'm a once-in-awhile user of Dreamweaver CC2017. I'm using it to make manual edits to a fixed-layout ePUB I made, but I'm finding the HTML could use some help in making it easier to read. I want to be able to have Dreamweaver insert a carriage return at the end of each closing tag.
Right now I see this:
<span id="_idTextSpan859" class="CharOverride-2" style="position:absolute;top:0px;left:6487.19px;">This-Manual-Needs </span><span id="_idTextSpan860" class="CharOverride-2" style="position:absolute;top:0px;left:7043.25px;">more </span>
I'd rather see this:
<span id="_idTextSpan859" class="CharOverride-2" style="position:absolute;top:0px;left:6487.19px;">TRX </span>
<span id="_idTextSpan860" class="CharOverride-2" style="position:absolute;top:0px;left:7043.25px;">is </span>
Can Dw re-write it so each opening tag starts on the next line?
See screenshot. Common (vertical) Toolbar.
Go to Edit Tag Libraries > Line spacing: Before & After tags.
After you define all your tag formatting, save it. Then use Apply Source Formatting .

Nancy
Copy link to clipboard
Copied
See screenshot. Common (vertical) Toolbar.
Go to Edit Tag Libraries > Line spacing: Before & After tags.
After you define all your tag formatting, save it. Then use Apply Source Formatting .

Nancy
Copy link to clipboard
Copied
Wow, that is so much nicer to read now! I applied it to my <span> tags, which is messier than the other tags in my doc. It's much easier to edit.
Thanks so much!!
Copy link to clipboard
Copied
Glad it worked out for you.
Happy New Year!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more