Solved! Go to Solution.
<button id="locate" data-dojo-type="dijit/form/Button" style="z-index: 900">Locate</button>
data-dojo-props is used to set the properties for dijit/form/Button, not for style settings. Use style to set css rules.
Try:<button id="locate" data-dojo-type="dijit/form/Button" style="z-index: 900">Locate</button>
data-dojo-props is used to set the properties for dijit/form/Button, not for style settings. Use style to set css rules.
Try:<button id="locate" data-dojo-type="dijit/form/Button" style="z-index: 900">Locate</button>
z-index is very tricky. Button's z-index only works within the scope of its container, which is div.floating-layerMenu in your case. Is div.floating-layerMenu visible?
z-index is very tricky. Button's z-index only works within the scope of its container, which is div.floating-layerMenu in your case. Is div.floating-layerMenu visible?
Can you post the portion of your html? Normally, buttons should resize themselves automatically unless you specifically set their width and height.