How can I swap placement of the search field and show entries?

How can I swap placement of the search field and show entries?

tidelipoptidelipop Posts: 10Questions: 0Answers: 0
edited November 2009 in General
I just want the search field to be to the left and the show entries to the right.
I tried sDom, but I don't really get it?

Replies

  • tidelipoptidelipop Posts: 10Questions: 0Answers: 0
    edited November 2009
    Well, I figured out by altering the css-file.

    [code]
    .dataTables_length {
    width: 40%;
    float: right;
    text-align: right;
    }

    .dataTables_filter {
    width: 50%;
    float: left;
    }
    [/code]
  • veetaveeta Posts: 1Questions: 0Answers: 0
    edited January 2010
    Hey,
    I tried above style but for some reason "Search:" label resides right in between. The search textbox on left side (not fully on left side though) and "show entries" on the right side. Am I missing something else here? sDom is "ltip".
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    HI veeta,

    If you have a look at your page with Firebug (etc) then it will likely become clear which CSS statement is causing your problems. Off the top of my head, I'm not sure. :-)

    Regards,
    Allan
This discussion has been closed.