How to get rid of extra blank lines between DataTable and buttons?

How to get rid of extra blank lines between DataTable and buttons?

PaoloValladolidPaoloValladolid Posts: 35Questions: 0Answers: 0
edited June 2010 in General
I just started using DataTables and so far am quite impressed.

There are extra lines that appear between my DataTable and the buttons below it (typical "Select", "Cancel", type buttons). What do I need to do to get rid of them?

Here's the HTML:





PC Code
Ingredient Name
Product Manager







PC Code
Ingredient Name
Product Manager






<!-- Extra lines appear here -->

Replies

  • PaoloValladolidPaoloValladolid Posts: 35Questions: 0Answers: 0
    bump
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi PaoloValladolid,

    Have you tried poking around the page with Firebug? If you did I would guess that you will find that the white space is caused by the "spacer" div (assuming you are using my demo CSS that adds white space). Removing that would help. After that if there is still white space you can check the various other elements with Firebug to see if they have padding / margins on them that would also cause white space - but I think the 'spacer' will be the key one.

    Regards,
    Allan
This discussion has been closed.