2014-08-29 41 views
0

我想让datepicker(jquery和jquery UI主题)日历位于textfield上方,因为此刻如果datepicker日历低于textfield,那么在移动设备上,虚拟键盘将覆盖所有的日历。jquery datepicker在文本字段上方的位置

+0

ü可以尝试'方向: “底部自动”'PARAM – Fancyoung 2014-08-29 08:04:58

回答

2

U可以改变CSS文件

像这样

.ui-datepicker { 
    position: relative !important; 
    top: -290px !important; 
    left: 0 !important; 
} 
相关问题