SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 27th, 2003, 03:58 PM
iso iso is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2003
Posts: 506 iso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 14 m 25 sec
Reputation Power: 5
dreamweaver question

I don't know if this is the right forum, but does anyone know how to prevent dreamweaver from deforming the html and php code. By deform I mean ruin the nice indenting structure to make the code readable. It seems that after I spend time make sure that everything looks good and is easy to read dreamweaver stomps all over it making it look like html that was created using drag and drop in frontpage.

Thanks for the help

Reply With Quote
  #2  
Old November 5th, 2003, 05:31 AM
icy_polecat's Avatar
icy_polecat icy_polecat is offline
Senior Polecat
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Jersey (the original version)
Posts: 210 icy_polecat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 57 sec
Reputation Power: 6
Send a message via Yahoo to icy_polecat
this is a common complaint about dreamweaver but what most people don't realise is that there is a whole section of menu options to stop dreamweaver re-writing code:

Edit - Preferences - Code format

Make sure indent is unckecked. Also uncheck Automatic wrapping

Edit - Preferences - Code rewriting

ensure the top three items are unchecked

There you go - dreamweaver should now leave your code alone.

Its also worth making sure that you have word wrap and auto indent turned off in the Code view options (its a lil drop down menu from an icon at the top of the code window)
__________________
Quidquid latine dictum sit, altum viditur.

http://www.XSet.co.uk

Reply With Quote
  #3  
Old April 22nd, 2004, 01:10 PM
trickmandan trickmandan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 trickmandan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Stop Dreamweaver from rewriting page code

In Dreamweaver MX
1. go to Edit/Preferences and select "Code Format"
2. Click on the "Tag Library Editor"
3. Select tag(s) you wish to format
4. Set format options (No line breaks, before and after tag,..)
5. You may want to set to "No line breaks".

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > dreamweaver question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway