I have around 6 tables those padding or width is different.When I was not using data tables, their padding and width were set inline. Now the inline doesn't work.
Datatables: http://datatables.net/index
What should I do now?
I simply need to be able to add some padding and width Inline to data-tables or may be I could give those tables a class name and then give them padding and width.
The issue is that inline styles doesn't work with data-tables.
Using this code:
<table class="datatable display " border="0" cellpadding="0" cellspacing="1"style="width: 87%;margin: -1px 0 14px 27px;">
<thead>
<tr>
<th>Name</th>
<th>DOB</th>
<th>Age</th>
<th>Sex</th>
<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
Here's the result :
Its not showing up properly due to margin and width.