Select Element in between Length and Search

Select Element in between Length and Search

dnirvinednirvine Posts: 7Questions: 0Answers: 0
edited March 2012 in General
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?

Replies

  • dnirvinednirvine Posts: 7Questions: 0Answers: 0
    I believe I may have got it by adding a float: left to the .yearlist div. :)
This discussion has been closed.