| | |
|
|
|
Closing all "containing" elements |
| message from cma on 15 Jul 2004 |
In DW MX 2004, I am interested in closing all containing elements, e.g.,
<p>, but not slashing the empty elements. I want to use the DOCTYPE "HTML
4.01 Strict", not XHTML.
Is there a way to do that?
Thanks, CMA
|
| ~Angela, TMM replied to cma on 15 Jul 2004 |
Hello CMA,
Make a backup first. (I never trust any program to fix my code. :-) Better
safe than sorry.)
Next, choose Edit> Preferences or Dreamweaver> Preferences if you're on a
Macintosh. Select the Code Rewriting category on the left of the dialog. In
the Rewrite Code section, make sure that there is a checkmark for fix
invalidly nested and unclosed tags.
I don't have the setting enabled because I don't run into this problem
personally. However if memory serves me correctly, the file will be updated
immediately upon opening. It will probably also run when you choose
Commands> Apply Source Formatting.
Good luck!
~Angela
|
|
Archived message: Closing all "containing" elements (Macromedia Dreamweaver)