#tble { font-family:arial; border-collapse:collapse; //border: solid 1px #9f9f9f; box-shadow: 25px 20px 15px -20px #bbb; font-size:small; box-shadow: 0px 20px 15px -20px #bbb; } #tble a:link,a:visited { text-decoration: none; color:inherit; } #tble td { padding: 5px; //border-right: solid 1px #efefef; //box-shadow: 15px 10px 15px -20px #bbb; } #tble th { border: 0px solid #7f7f7f; padding: 5px; height: auto; background: #D0B389; color:rgba(225,225,225,.9); background-color: rgba(52, 63, 71,.9); font-weight: 400; color: #82afe8; } #tble th a { text-decoration: none; text-align: center; padding-right: 20px; font-weight:bold; white-space:nowrap; color:inherit; } #tble tr:nth-child(even){background-color: rgba(195,195,195,0.1);color:inherit;} #tble tr:hover { background-color: rgba(85,121,154,0.2);//#d6e3ff; color:inherit; cursor:pointer; } #mySTInput { //background-position: 10px 10px; background-repeat: no-repeat; //width: 99%; font-size: 14px; padding: 4px 0px 4px 1%; width:48%; border: 1px solid #ddd; margin-bottom: 12px; margin-right:0%; } #selecti { background: #eee; sfloat:right; } .outertb{ overflow-y: auto; height:300px; } .outertb table{ width: 100%; table-layout: fixed; //border : 1px solid black; //border-spacing: 1px; } .outertb table th { text-align: left; top:0; position: sticky; //background-color: #f1f1f1; } #tble2 { font-family:arial; border-collapse:collapse; //border: solid 1px #9f9f9f; box-shadow: 25px 20px 15px -20px #bbb; font-size:small; box-shadow: 0px 20px 15px -20px #bbb; } #tble2 a:link,a:visited { text-decoration: none; color:inherit; } #tble2 td { padding: 5px; //border-right: solid 1px #efefef; //box-shadow: 15px 10px 15px -20px #bbb; } #tble2 th { border: 0px solid #7f7f7f; padding: 5px; height: auto; background: #D0B389; color:rgba(225,225,225,.9); background-color: rgba(52, 63, 71,.9); font-weight: 400; color: #82afe8; } #tble2 th a { text-decoration: none; text-align: center; padding-right: 20px; font-weight:bold; white-space:nowrap; color:inherit; } #tble2 tr:nth-child(even){background-color: rgba(195,195,195,0.1);color:inherit;} #tble2 tr:hover { background-color: rgba(85,121,154,0.2);//#d6e3ff; color:inherit; cursor:pointer; } #mySTInput2 { //background-position: 10px 10px; background-repeat: no-repeat; //width: 99%; font-size: 14px; padding: 4px 0px 4px 1%; width:48%; border: 1px solid #ddd; margin-bottom: 12px; margin-right:0%; }
Edit file:table.css2634