html - 选择的方向 rtl 水平滚动问题

标签 html css jquery-chosen

当页面方向设置为'rtl;它创建水平滚动。我使用了选择的插件。它会创建不需要的“左:-9999px;”对于“chosen-drop”div 类。请帮我解决这个问题。

enter image description here

enter image description here

enter image description here

最佳答案

.chosen-container .chosen-drop {
    position: absolute;
    top: 100%;
    left: 9999px;
    z-index: 1010;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border-top: 0;
    background: #d1d0d0;
}

使用“chosen.css”文件查找并更改它。但是“左:-9999px;”应改为“left: 9999px;”

关于html - 选择的方向 rtl 水平滚动问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28336533/

相关文章:

asp.net-mvc - MVC : How to make DropdownList field (with Chosen Plugin) Required

javascript - jquery 选择多个 : how to keep menu open between selection

html - gmail 签名如何工作?

jquery - 如何绑定(bind)图像宽度以滚动特定高度?

jQuery 选择的插件无法正确搜索引号/撇号

html - 删除 css 中的自动换行符

php - TinyMCE - 剥离标签然后添加标签 - 奇怪的行为

javascript - 清除另一个输入时清除输入类型文本

javascript - 在 jQuery Mobile data-role=listview 中动态填充 <li>

html - 动画不会在第一次点击时发生?