How to change background color of div holding my table
How to change background color of div holding my table
mkleinosky
Posts: 46Questions: 6Answers: 5
in General
My CSS makes the page have a blue background, the content is in a
<
div> with white but when I get a DT/Editor table with the created divs work and stay white background until the Column filter widgets and table itslef
..
What selector is needed instead of my useless
$('#masterlist').parent().css("background-color","#ffffff");
This discussion has been closed.
Answers
You need to edit or override the '.dataTables_wrapper' CSS class.
thanks, I added
$('.dataTables_wrapper').css("background-color", "#ffffff");
to no avail
I'm not sure why, but you have
float:left
on alltable
s and also specifically on your DataTable. I would suggest removing that. You can use the developer tools in your browser to experiment with your CSS and remove the floats.Allan
Brilliant - removing float: left fixed it- thank you (again)!