You have no idea how many years have been taken off my life by the painful annoyance of Dreamweaver adding blank lines to my code. I hack away at some code on my laptop and it looks great – I move over to my desktop and all of a sudden, my I have twice as many lines of code… WTF. Well it just so happens that I stumbled upon the solution to this problem. It has to do with your Dreamweaver code preferences. Specifically those found in “Edit >> Preferences >> Code Format”. Once you are there, make sure that you have the correct option selected for “Line break type”. Then save the settings, close your file, and reopen it again… Vwa-La!!! Magic!!!

Code Preferences Dialog

Posted by: John Dugan

Comments