Context Menu: Icons in IE 6

The icons in the context menu are over the text in IE 6. The formating is not proper. It works with firefox 3. What can I do?

Known bug with doctype usage.
dhtmlx.com/docs/products/kb/inde … mal&q=6874

My page has also the doctype:
But it dosn’t work in the IE 6.
The problem is with a context menu of a tree.

Which skin are you using?

Context menu skin: dhx_blue

Attached demo located on the link above works fine on our side. We cannot repeat your bug.
COuld you please provide your demo?


MainPage:



yyy









Part of /js/programm.js:
    var lContextMenu = new dhtmlXMenuObject(); 
    lContextMenu.setImagePath("/dhtmlx/imgs/");
    lContextMenu.setIconsPath("/dhtmlx/imgs/csh_vista/");
    lContextMenu.renderAsContextMenu();
    lContextMenu.loadXMLString(strXML);
    lContextMenu.attachEvent(“onClick”, requestMenuItem);
    gObjectTree.enableContextMenu(lContextMenu);

strXML is:





Here a compact example:




EW Riedbach






gfsd


Here is updated (already fixed) dhtmlxmenu.js file. Provided source code works fine with it.
You should replace old dhtmlxmenu.js file in dhtmlx package and rebuild the dhtmlx.js/dhtmlx.css

Regarding your demo: you should add the following style:
html,body{width:100%; height:100%; margin:0px; overflow:hidden;}

dhtmlxmenu.zip (19.3 KB)

Thanks
It works fine!
Great support