I have created a jQuery Dialog
as in this Demo. It is working properly. close button is display in right side in there. but on my site, running on localhost, close button is display in left side as in below image.
How can i solve this ?
Close Button Style
<button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only ui-dialog-titlebar-close" role="button" aria-disabled="false" title="close">
<span class="ui-button-icon-primary ui-icon ui-icon-closethick"></span>
<span class="ui-button-text">close</span>
</button>
.ui-dialog .ui-dialog-titlebar-close { left:0; }
not working. – Peepul<a>
parent element of the button in Chrome. Could you copy the Computed Style in the Chrome Console and paste the output into the question? The element should look something like<a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a>
. – Convalescence<a>
tag. there is abutton
tag. – Peepul<button>
and check the Computed Style in the Chrome DevTools. In particular I'd like to see thewriting-mode
CSS property. Also, which browser and version are you using? – Convalescencehtml
file with dialog. download it from here. – Peepul