Table doesn't fit the wrapper
Table doesn't fit the wrapper
ILyaCyclone
Posts: 9Questions: 2Answers: 0
Hi,
I have just installed the DataTable plugin and trying to use it.
First issue I encounter is:
The table doesn't fit the wrapper div.
It is larger then the wrapper div when there are 10 records - which cause next div overflow.
Picture 1: http://yfrog.com/jkwrapper01p
And it is smaller then the div when there is, say, 1 record - which cause empty space on the page.
Picture 2: http://yfrog.com/hqwrapper02p
Please, advice me the solution.
Thanks.
I have just installed the DataTable plugin and trying to use it.
First issue I encounter is:
The table doesn't fit the wrapper div.
It is larger then the wrapper div when there are 10 records - which cause next div overflow.
Picture 1: http://yfrog.com/jkwrapper01p
And it is smaller then the div when there is, say, 1 record - which cause empty space on the page.
Picture 2: http://yfrog.com/hqwrapper02p
Please, advice me the solution.
Thanks.
This discussion has been closed.
Replies
Before closing tag for wrapper div (or after DT ), put a
[code][/code]
For the empty space, remove the height attr of wrapper div, so it'll be always the height of DT.
There was min-height css attribute set in .css file from example.
Nevertheless the table is still a little bigger then the wrapper in Opera browser.
Is there a standard or adviced (ready to use) CSS file for DataTable?