问题描述:

Is it possible to change the direction of the close button on the dialog,

Instead of the button will appear on the right side dialog it will appear on the left side of the dialog?

thanks,

mati

网友答案:

Try the following:

.ui-dialog .ui-dialog-titlebar-close {
position: absolute;
left: .3em;
top: 50%;
width: 20px;
margin: -10px 0 0 0;
padding: 1px;
height: 20px;
}
.ui-dialog .ui-dialog-title {
float: right;
margin: .1em 0;
white-space: nowrap;
width: 87%;
overflow: hidden;
text-overflow: ellipsis;
}
相关阅读:
Top