How to get rid of extra blank lines between DataTable and buttons?
How to get rid of extra blank lines between DataTable and buttons?
PaoloValladolid
Posts: 35Questions: 0Answers: 0
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 -->
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 -->
This discussion has been closed.
Replies
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