Datatable not picking up CSS?
Datatable not picking up CSS?
Hello everyone!
First of all, I have very limited experience with Javascript and CSS so I apologize if I'm missing something very obvious here.
I'm trying to display a html table using dataTable but for some reason it is not looking like the example table at Zero Configuration datatable page (https://datatables.net/examples/basic_init/zero_configuration.html .I've included the links to the css and js as described at the said page.
Here's the html table I'm working with(including css and js): http://jsbin.com/remonituno/edit?html,output
Any suggestions as to why the table is not looking like the one in the Zero configuration example? Do I need to add some more css to achieve the desired 'look'?
Thanks a lot!
This question has an accepted answers - jump to answer
Answers
You need to add
rel="stylesheet" type="text/css"
to yourlink
tag: http://jsbin.com/seyelekaxa/edit?html,output . Otherwise the browser won't see it as a stylesheet.Allan
Thank you so much Allan, it works perfectly now!
Kirti