Welcome to WebmasterWorld Guest from 54.205.37.110

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver MX

Unnecessary Code

   
9:31 pm on Feb 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dreamweaver MX has what I like to call a disorder. It keeps on adding code such as:

<!--DWLayoutTable-->

and <!--DWLayoutEmptyCell-->&nbsp;

How do I prevent this from happening?

9:52 pm on Feb 9, 2003 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



fashezee, I guess martinibuster gave what we know as the best solution here [webmasterworld.com] ;)

It only takes a few seconds to do a sitewide search/replace......which is not long IMO

10:03 pm on Feb 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I was aware of that thread, I started it. However, I'm convinced that there is an option
somewhere I can select and prevent all the unnecessary code.

The problem with find/replace is that the unwanted code comes back when I re-open the
document.

Also, is there a way of preventing DWMX from tabbing each row?

11:21 pm on Feb 9, 2003 (gmt 0)

WebmasterWorld Administrator brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



<has an older version of DW

Under Edit > Options > Indent their is an option between choosing spaces or tabs for indenting, and a check box (i guess the checkbox turns indenting off)

I cant see an option in that dept for the redundant tags though....maybe MX has an extra option or two?

8:39 am on Feb 10, 2003 (gmt 0)

10+ Year Member



I use MX all the time and I never noticed that unless your using templates. Have you upgraded to 6.1 yet. It fixes alot of bugs not all but it does
9:37 am on Feb 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The clean-up HTML should work, if you select the DM tags.

If it is template based, then you can go to the DM standard template and edit the code