NotImportant
New Member
I am trying to give back ground color for my search label...but the problem is my search label coming from data tables jquery plugin...so dont know where to change it...providing my code belowhttp://jsfiddle.net/bz2C4/23/\[code\].dataTables_filter label { border: 1px solid red;}$(document).ready(function () { $('#inventoryTable').dataTable({ "bFilter": true, "bLengthChange": false, //"bJQueryUI": true, "bSort": false, "iDisplayLength": 20, "sPaginationType": "full_numbers" }); $('.dataTables_length').remove(); $('.dataTables_info').remove(); $('.dataTables_filter').css("text-align", "center"); $(function () { var search = $('.dataTables_filter').detach(); $('.page-title').before(search); search.css('margin-left', '0'); var div = $('.dataTables_filter'); var start = $(div).offset().top; $.event.add(window, "scroll", function () { var p = $(window).scrollTop(); $(div).css('position', ((p) > start) ? 'fixed' : 'static'); $(div).css('top', ((p) > start) ? '0px' : ''); }); });});\[/code\]