.LY:hover { color: #fff; } .LY:active { color: #fff!important; } #Task thead td { color: #fff; background-color: #1ab394; text-align: center; } .table-head table thead { width: calc( 100% - 5px); } table thead, tbody tr { display: table; width: 100%; table-layout: fixed; text-align: center; } .table { margin-bottom: 0; } .table-body { width: 100%; height: 515px; overflow-y: scroll; overflow-x: scroll; }