How to change style of the tables

How to change style of the tables

dickreuterdickreuter Posts: 1Questions: 1Answers: 0

I would like to change the style of the tables as follows, but I'm having difficult finding out which css I need to change:

  • disable all padding within the cells so everything becomes much more compact
  • have the tables themselves left aligned instead of centered
  • have the cell content right aligned (ideally just for numbers)

Any suggestions how this can be achieved would be greatly appreciated.

Answers

  • arcanisgkarcanisgk Posts: 41Questions: 12Answers: 0

    use CSS.

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    edited May 2020

    Use your browser's "Inspect" facility to see what styles are applied to the elements you want to change. Then use your own stylesheet to override that of DataTables.

This discussion has been closed.