3 Replies - 399 Views - Last Post: 23 February 2009 - 02:14 PM

#1 jason-pc  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 60
  • Joined: 10-January 09

Dreamweaver MX alters my code view structure.

Posted 21 February 2009 - 02:15 AM

i have had this for ages and now i need to stop Dreamweaver MX from doing this.

DW changes this...

my original code
<body>
		  <div id="tag_1">
			  <div id="tag_2">
					<div id="tag_3">
						 <div id="tag_4">
							  <img src="images/intro01.jpg" alt="Olympus" />
							  <img src="images/intro02.jpg" alt="McKenzie" />
						 </div>
					</div>
			   </div>
		  </div>
</body>




to this.... when i open the file in design or code view.
<body>
		  <div id="tag_1">
			  <div id="tag_2">
					<div id="tag_3">
						 
		  <div id="tag_4">
							  <img src="images/intro01.jpg" alt="Olympus" />
							  <img src="images/intro02.jpg" alt="McKenzie" />
						 </div>
					</div>
			   </div>
		  </div>
</body>



is there an option to stop this happening?

Is This A Good Question/Topic? 0
  • +

Replies To: Dreamweaver MX alters my code view structure.

#2 firebolt  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 91
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09

Re: Dreamweaver MX alters my code view structure.

Posted 23 February 2009 - 03:19 AM

If you copy the first code directly into DW MX then it should work perfectly.
Was This Post Helpful? 0
  • +
  • -

#3 dgersting  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 23-February 09

Re: Dreamweaver MX alters my code view structure.

Posted 23 February 2009 - 04:28 AM

If you want, you can turn off DW's code re-writing entirely in the preferences. (it's in the "Code Rewriting" section)

In the same section is lots of good settings to control what and when it'll re-write your code.
Was This Post Helpful? 0
  • +
  • -

#4 jason-pc  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 60
  • Joined: 10-January 09

Re: Dreamweaver MX alters my code view structure.

Posted 23 February 2009 - 02:14 PM

View Postdgersting, on 23 Feb, 2009 - 03:28 AM, said:

If you want, you can turn off DW's code re-writing entirely in the preferences. (it's in the "Code Rewriting" section)

In the same section is lots of good settings to control what and when it'll re-write your code.



i have turned off all the options for rewriting the code but still on opening the file again the code is restructured!

i have Dream Weaver MX 6.0

Attached image(s)

  • Attached Image

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1