View Full Version : Nesting DIVs and obfuscation

08-26-2011, 06:58 PM
The DIV is a wonderful invention. But they are also nightmarish when pages become huge and complex. I try to add a comment on the end tag when I make a new div so I can figure out where the end tag when things start getting huge and complex, but often, I have to deal with "OPC" (short for "other people's code") and find myself just throwing things at the wall until I figure out what is what.

Is there a feature or an addon for Dreamweaver that can analyze an html page and match up ending tags with beginning tags for nested DIVs?

IF there is, I've missed it. And I'm a buyer. Just point me at it!

08-27-2011, 01:24 AM
From Adobe:

Check for balanced tags

Open the document in Code view.
Place the insertion point in the nested code you want to check.
Select Edit > Select Parent Tag (Control/Command+[).
The enclosing matching tags (and their contents) are selected in your code. If you keep selecting Edit > Select Parent Tag, and your tags are balanced, eventually Dreamweaver will select the outermost html and /html tags.

08-27-2011, 03:42 PM
Awesome! Thanks, I needed this....