Don't want table across the entire page
Don't want table across the entire page
goldy
Posts: 20Questions: 11Answers: 0
in DataTables
Hey all.. I'm a n00b to datatables.. I have a three column table and it's stretching the fields across the entire page and it looks kind of ridiculous.
what the best way to make the table fit only over a certain part of the page. I don't want it stretched.
Thanks in advance
jg
This discussion has been closed.
Answers
<
table id="yourtablename" class="display" cellspacing="0" width="50%">
Just set the table width when coding your html table :)
So, i'm doing everything from powershell an dusing datatables to create awesome tables, so I need to build a header and pass it through to powershell...
And i'm not a js guy, but i've been crash coursing it with everyone's help...