Welcome to WebmasterWorld Guest from 54.144.114.177

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver MX

Unnecessary Code

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 12, 2002
posts:1123
votes: 0


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)

Moderator from GB 

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

joined:Jan 30, 2002
posts:4842
votes: 1


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 12, 2002
posts:1123
votes: 0


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)

Moderator from GB 

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

joined:Jan 30, 2002
posts:4842
votes: 1


<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)

Full Member

10+ Year Member

joined:July 30, 2002
posts:273
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 21, 2001
posts:2488
votes: 0


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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members