how to center table on page
how to center table on page
64coach
Posts: 15Questions: 0Answers: 0
How can i center my table on the page. Looked through the CSS and html and couldnt find where to change or add.
Thanks,
Coach
http://www.newjerseysepticservice.com/table/gmjr-full.html
Thanks,
Coach
http://www.newjerseysepticservice.com/table/gmjr-full.html
This discussion has been closed.
Replies
Allan
Thank you for your reply. Where would i go to increase the container. Would this also center the table on the page. I'm new to this, i like to learn the in's and out's on basic adjustments.
Also, what do you mean by "it's overflowing"
Thank you for your patience,
64Coach
The CSS you are having a problem with is in `demo_page.css` line 15:
[code]
#dt_example #container {
width: 875px;
...
[/code]
Personally I wouldn't use the DataTables demo page example stylesheet for anything other than a DataTables examples page - but it's up to you :-)
Allan
If i pay for support can someone put a table together for me. How can i contact you with questions other than the forum.
I see what you mean now about the overflow (I removed the demo.page.css on my test page).
Also,If possible can you point me where i would adjust for "show entries, search all columns, showing entries x to xx and the previous / next buttons. When i removed the demo.page.css and adjusted the table these areas stayed all the way to the right and left. I'm not sure where to look for them or even what there called. Any help would be appreciated.
Thanks
64Coach
You probably want to include jquery.dataTables.css since that has slating information for the DataTables elements. You might also want to take a look at this blog post which details how a table can be styled: http://datatables.net/blog/Creating_beautiful_and_functional_tables_with_DataTables
Allan
How difficult is it to combine "individual column filtering (using select menus) and hidden row details". Can these's two be combined?
Thanks,
64Coach
Allan
Thanks,
64Coach
Being a newbe i just tried merging the two together the best i could from looking at other examples. It work to an extent but errors were displayed and images were placed in different places.
I'm going to try again this weekend...hopefully with better results.
Regards,
64Coach