dom elements change position

dom elements change position

GrigoreGrigore Posts: 15Questions: 4Answers: 0

I have in header :
http://postimg.org/image/goiy8efqb/ and i want to change the elements to this http://postimg.org/image/uyygwdyej/ .

and in footer :
http://postimg.org/image/irtz42uk1/ to http://postimg.org/image/jlb6afpyp/.

I have look over https://datatables.net/examples/basic_init/dom.html but can't manage to get the results i want ..

Thanks for your time.

This question has an accepted answers - jump to answer

Answers

  • GrigoreGrigore Posts: 15Questions: 4Answers: 0

    Any help with my problem ?

    Thanks.

  • allanallan Posts: 61,847Questions: 1Answers: 10,134 Site admin

    Can you link to your page please (as required in the forum rules). It sounds like there is a CSS issue.

    Allan

  • GrigoreGrigore Posts: 15Questions: 4Answers: 0
  • allanallan Posts: 61,847Questions: 1Answers: 10,134 Site admin

    Add:

    div.DTTT_container {
      margin-bottom: 0;
    }
    

    to your CSS. Or remove the margin-bottom option for that selector from the CSS file.

    Allan

  • GrigoreGrigore Posts: 15Questions: 4Answers: 0

    Added and i added :

    div.dataTables_paginate {
    margin-top: -30px;
    }

    for paginations but still can manage to change the "show 25 entries " to be on the same row as search ...

  • allanallan Posts: 61,847Questions: 1Answers: 10,134 Site admin
    Answer ✓

    Add padding to the top of div.dataTables_length element perhaps.

    Allan

This discussion has been closed.