published hover example does not work

published hover example does not work

matt52431matt52431 Posts: 2Questions: 1Answers: 0

I am looking at the first example of styling here https://datatables.net/examples/styling/hover.html
and see no highlighting. Firefox 60.1.0.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 48,081Questions: 1Answers: 6,909 Site admin
    Answer ✓

    It appears to work for me okay. The highlight grey is fairly subtle though so its possible that your monitor just isn't showing a distinction between the white background and the #f6f6f6 grey.

    Try add:

    table.dataTable.hover tbody tr:hover,
    table.dataTable.display tbody tr:hover {
      background-color: red;
    }
    

    to your CSS (or on that page using the browser's Inspector) to make sure it is working.

    Allan

  • matt52431matt52431 Posts: 2Questions: 1Answers: 0

    Yes, default was undetectable. Thanks.

Sign In or Register to comment.