Select Element in between Length and Search
Select Element in between Length and Search
So I have the following code:
[code]var oTable = $(".mws-datatable-fn").dataTable( {
sPaginationType: "full_numbers",
"aLengthMenu": [[31, 50, 100, -1], [31, 50, 100, "All"]],
"iDisplayLength": 31,
"sDom": 'l<"yearlist">ftip'
});
$('.yearlist').html("201020112012");
new FixedHeader( oTable );[/code]
Which seems to work rather well. :) However my CSS isn't working just right and the year select is really misaligned with the rest of it. What exactly would the CSS be to get the form right in between the length and filter/search?
[code]var oTable = $(".mws-datatable-fn").dataTable( {
sPaginationType: "full_numbers",
"aLengthMenu": [[31, 50, 100, -1], [31, 50, 100, "All"]],
"iDisplayLength": 31,
"sDom": 'l<"yearlist">ftip'
});
$('.yearlist').html("201020112012");
new FixedHeader( oTable );[/code]
Which seems to work rather well. :) However my CSS isn't working just right and the year select is really misaligned with the rest of it. What exactly would the CSS be to get the form right in between the length and filter/search?
This discussion has been closed.
Replies