Forum Moderators: open
Try in this forum: [webmasterworld.com...]
I use the Dreamweaver mx editor and it seems to have a mind of its own when formatting code.
keyplyr sent you to the right forum.
In reference to you using DW, I would imagine you have a set of preferences that you can modify to format your html code. I utilize FP and I have total control over how my html is formatted. Since DW is a little more robust than FP (according to users who post here), I would think you have this option available to you.
That is why I think it is very important that you investigate what your DW has to offer before looking for third party tools to do the job.
Never used it myself (because I hand code, so I don't need to tidy up sloppy WSYIWYG work) but its linked to from the W3C Validator [validator.w3.org] page so I'd hope its fairly reasonable.
If you've got the preferences set correctly, DW should not be shuffling the deck each time you save the page. Something isn't right somewhere. What type of formatting issues are you having? What happens when you save the page?
In regards to the css, my understanding is that DW works very well with css. Again, it comes down to how the preferences are set up within the program. What type of problems are you seeing there? Maybe one of the resident DW experts will jump in and offer some assistance.
Dreaweaver will only rewrite code in its own style on sections that you edit using the design (WYSIWYG) view. If, for example, you loaded a page formatted by you, and you inserted an image while in design mode, DW would write the HTML code to insert the image in its own style AND leave the rest of the code unchanged.
BUT
If your code had certain errors in it, such as invalidly nested and unclosed tags or extra closing tags, by default, DW would rewrite your code automatically and may shuffle the "deck" completely, so to speak.
Try this - Open your nicely formatted file, if an asterix appears (to indicate that the file needs to be saved) at the end of the file's filename at the top of the screen, then DW has edited your code. If this is the problem, then let DW edit the code, run "Clean up HTML" and "Apply source formatting", then save your file (under a different name, to be sure). Then get a program like PrettyHTML (http://www.mpp.at/pretty/index.htm) to format your code the way you want it.
Hope this helps.
With the css problems and DW.-- I am using a 2 and 3, liquid columns setup, and the DW interactive imagery is just anywhere but where it should be. It does not worry me particularly as I do my work mostly in the editor and all is well in the major browsers.
If I am in the interactive environment and I save the file from there, then the display also changes and I get what I expect from nn4 and that is a degraded display that basically follow the content with links, images etc, none of the visual formatting. That is fine by me, I got tired of trying to fix problems with a browser that should be on the scrap heap, i just serve up the content.
I understand what you say about preferences in DW, but I am not sure it will do what I require.
I did find a useful plug-in for IE, for antone that is interested. [adew.co.uk...]
I have no connection to this, I just found it when surfing for a solution to this.