Datatables: Position Search Box to the top right [closed]

南楼画角 提交于 2019-12-22 05:40:20

问题


How do i position the search box to the right? By default it is to the left now


回答1:


Here is an example with the search box aligned to the right.

It looks like they use this CSS style:

.dataTables_filter {
   width: 50%;
   float: right;
   text-align: right;
}

As far as I can tell, this is the default, which means you are probably doing something that is overriding this. Could you post an example where the field is improperly aligned so we can take a look at it?



来源:https://stackoverflow.com/questions/13039021/datatables-position-search-box-to-the-top-right

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!