<! <any DOCTYPE declaration - doesn't matter because they all do the same thing >
...
var AIPTree = LauncherLayout.cells("a").attachTree();
AIPTree.setSkin('dhx_skyblue');
AIPTree.setImagePath("code/dhtmlx/dhtmlxTree/codebase/imgs/csh_bluebooks/");
AIPTree.enableCheckBoxes(true);
AIPTree.enableThreeStateCheckboxes(true);
AIPTree.enableTreeLines(true);
AIPTree.enableTreeImages(false);
Here is what happens when the tree is expanded:
Here is what happens when I remove the DOCTYPE declaration:
I wrote my own php mysql query to XML parser because the built-in methods weren’t working the way I wanted. The output is the same as the example XML format, so that isn’t the issue.
I noticed an additional problem tonight. Firefox is on the left and Chrome is on the right:
I can’t get my page to render because of the TabBar in IE, but there is obviously something wrong. I tried three versions of Firefox and two versions of Chrome without getting different results.
I have not touched any of the dhtmlxTree files.
Also, regarding my previous issue, I found that adding does not cause the table spacing issue, but most other DOCTYPE statements do. Weird.
Thanks for providing that file. I see no offsets in IE9 or Firefox, but it won’t even load the tree in Chrome due to error:
“Error Type: LoadXML. Description: Incorrect XML.”
“Error Type: DataStructure. Description: XML refers to non-existing parent.”
I had this same problem but I don’t remember how I fixed it. I’ll try to reproduce the no offset part of your file in my own to see what is causing it.