Skip to main content
n0tja
Participant
November 26, 2016
Answered

Closing tags in code view causes a whole bunch of tabs

For whatever reason, after about 5 straight hours of coding in Dreamweaver today without any issues I started having this problem. Every time I close an HTML tag Dreamewaver automatically adds about 20 tabs to the code.

So this:

<tr>

<td>Hello World!</td>

</tr>

becomes

<tr>

                                                                      <td>Hello World!</td>

</tr>

So basically Dreamweaver is useless to me because I have to constantly remove all these extra tabs. I can't find anything on Google. Maybe I'm searching for the wrong keywords.

Any ideas?

This topic is closed to new replies. Start a new post to keep the conversation going.
BenPleysier
BenPleysierCorrect answer
Community Expert
November 26, 2016

This usually happens when Dreamweaver gets confused by coding errors. Go through your document for any unclosed elements or go to http://validator.w3.org/ to have the validator do that for you.

Note: I think the validator may be off-line at the moment of writing this reply.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!

2 replies

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
November 26, 2016

This usually happens when Dreamweaver gets confused by coding errors. Go through your document for any unclosed elements or go to http://validator.w3.org/ to have the validator do that for you.

Note: I think the validator may be off-line at the moment of writing this reply.

Translate
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
n0tja
n0tjaAuthor
Participant
November 26, 2016

BenPleysier,

Thanks for the reply. This was driving me insane. I downloaded another web syntax editor and as soon as I opened the file, it pointed out an instance where I had forgot a quote (").

for example, I had:

<td bgcolor= #c0c0c0">

Obviously I'm missing the opening quotes on the value for the property bgcolor.

I didn't even think to go back into Dreamweaver and see if that fixed it until I read your reply. I just opened the file back up in Dreamweaver and tried to replicate my issue. Since I am unable too, I'm going to assume that you are correct.

Thanks again for your help!

Translate