Styling not properly shown

Styling not properly shown

satyriasissatyriasis Posts: 30Questions: 7Answers: 0
edited January 2022 in Free community support

Link to test case: masinko.hr/fctbaza
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: Hi, I have put<table id="moja" class="cell-border" width=100%"> then table content and below

</tbody>
</table>

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.11.3/b-2.1.1/b-html5-2.1.1/b-print-2.1.1/r-2.2.9/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.11.3/b-2.1.1/b-html5-2.1.1/b-print-2.1.1/r-2.2.9/datatables.min.js"></script>


<script>
jQuery(document).ready( function () {
  jQuery('#moja').DataTable({
    responsive: true,
    language: {
      url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/hr.json'
      },
      dom: 'Bfrtip',
      buttons: [
        { extend: 'copy', className: 'nectar-button medium regular extra-color-1 regular-button tableBtn' },
        { extend: 'csv', className: 'nectar-button medium regular extra-color-1 regular-button tableBtn' },
        { extend: 'excel', className: 'nectar-button medium regular extra-color-1 regular-button tableBtn' },
        { extend: 'print', className: 'nectar-button medium regular extra-color-1 regular-button tableBtn' }
      ] 
  });
});
</script>

<style>
.dataTables_filter input {
    margin-bottom: 30px;
}
</style>

The problem I am seeing is that the styling of the table is not as it should be, but it has borders and is grey all around, like it picked up styling from my theme instead of Data tables. Can someone help me?

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Your page isn't loading - please can you take a look at that,

    Colin

  • satyriasissatyriasis Posts: 30Questions: 7Answers: 0

    Sorry, fixed it

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Nope, still getting "The page can't be found"...

Sign In or Register to comment.