Msg#: 3314349 posted 7:59 am on Apr 18, 2007 (gmt 0)
dreamweaver mx messing up tabs in code
1. you have a nicely tabbed out ul menu (sorry no example-code because tabs are not supported in this forum textfield) 2. then you close the file. 3. when the file is opened dreamweaver selects a chuck of code and moves it 1 or 2 tabs to the left. totally messing up my code.
Msg#: 3314349 posted 8:24 am on Apr 18, 2007 (gmt 0)
I'm not a DW user but I would assume it is similar to FP. There should be a section within your options for html coding preferences. That is where you would control what is happening with tabs. It sounds like you are visually tabbing while the program is overwriting and resetting to its default settings?
You'll need to modify those default settings to your liking. That way when you use a WYSIWYG function your tabbing will be what you prefer. And then when working in html view, when you tab, you'll be following the html coding preferences you've specified.
- paste html in new doc in DW. make sure tabs are properly nesting eachother. - paste css in file in same dir, call it "test_main.css" - open the htm-file, DW will have moved the div with class="labelwrapper" 1 tab to the left.
When I take away that one line in the css: "position: relative;" it doesn't mess up my code. realy frustrating! deadline tomorrow :-(