Color/Font of "Show [] Entries" and "Showing x to y of z entries"

Color/Font of "Show [] Entries" and "Showing x to y of z entries"

perlmasterperlmaster Posts: 3Questions: 0Answers: 0
edited June 2013 in DataTables 1.9
I am using datatables 1.9 with IE 8 under windows 7. the web page in question is being generated by a Perl CGI script run by an apache web server from a Linux server.


I would like to know how to change the color and perhaps the font of the "Show [] Entries" on top of a displayed table and the "Showing x to y of z entries" at the bottom of a displayed table.

I have read a number of artciles on both this forum and articles located by google. I have tried to modify the "white"border around the displayed table containg the "Show [] Entries" and "Showing x to y of z entries" by modifying the sortable_table.css and jquery.dataTables.css files with no success. I have also tried specifying a value for "sDom" whoch also had no affect on the white border around the displayed table.

Where else should I try to accomplish my goal of modifying the white area ? (changing it to a transparent area might also be useful).

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    [code]
    .dataTables_info,
    .dataTables_length {
    color: red;
    }
    [/code]

    Classes are documented here:
    http://datatables.net/styling/ids_classes

    Allan
This discussion has been closed.