Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to left align the Jquery datatable pagination buttons

Any ideas on how to left align the Jquery datatable pagination buttons? by default top buttons are aligned center, and bottom buttons are aligned right. Any ideas?

like image 946
user1457957 Avatar asked Dec 26 '22 22:12

user1457957


2 Answers

You need to use !important to override the existing style applied to the paginator.

.dataTables_paginate {
  float: left !important;
}
like image 115
jlesse Avatar answered Dec 29 '22 12:12

jlesse


div.dataTables_paginate { float: left; margin: 0; } should do the trick.

like image 45
Lusitanian Avatar answered Dec 29 '22 11:12

Lusitanian