div.head-div { padding: 8px; position: fixed; top: 0px; left: 0px; width: 100%; height: 156px; background-color: white; } table.klasy { width: 900px; border-collapse: collapse; font-size: 14px; border: none; background-color: #cce9ad; } table.klasy thead { background-color: #a9da74; width: 900px; } table.klasy td, th, tr{ border: none; } table.klasy td, th { padding: 2px; } table.klasy th { font-weight: normal; } table.klasy th.klasa { font-weight: bold; } table.klasy tr:nth-child(odd) td { background-color:#ffffff; } /*odd*/ table.klasy tr:nth-child(odd) td.klasa { background-color:#dbd2e4; font-weight: bold; text-align: center;} /*odd*/ table.klasy tr:nth-child(even) td.klasa { background-color:#b7a6ca; font-weight: bold; text-align: center;} /* even*/ table.klasy tr:nth-child(odd) td.nazwisko { font-weight: bold; } table.klasy tr:nth-child(even) td.nazwisko { font-weight: bold; } table.klasy th.klasa { background-color:#b7a6ca; } table.klasy th.lp { text-align: right; } table.klasy td.lp { text-align: right; } table.klasy th.listwa { font-size: 16px; background-color:#60497A ; text-align: center; color: #ffffff; } /*odd*/ table.klasy th.ikonka{ background-color: #cce9ad; width: 38px; } table.klasy tr:nth-child(odd) td.ikonka{ background-color: #cce9ad; } table.klasy tr:nth-child(even) td.ikonka{ background-color: #cce9ad; }