Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 337
yapkm01 Avatar asked Oct 23 '12 20:10

yapkm01


1 Answers

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?

like image 63
Kato Avatar answered Nov 05 '22 00:11

Kato