当前位置: 动力学知识库 > 问答 > 编程问答 >

css - jquery ui dialog close button direction

问题描述:

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;
}
分享给朋友:
您可能感兴趣的文章:
随机阅读: