Эхлэл
<!DOCTYPE html lang="en-US"> <html> <head> <style> #worker { font-family: Arial, Helvetica, sans-serif; border-collapse: collapse; width: 100%; } #worker td, #worker th { border: 1px solid #CCC; padding: 8px; } #worker tr:nth-child(even){background-color: #FFFFf1;} #worker tr:hover {background-color: #FFF1F1;} #worker th { padding-top: 15px; padding-bottom: 15px; text-align: left; background-color: #3f9ce8; color: white; } </style> </head> <body> <table id="worker"> <thead style="background-color: #3f9ce8; color: white;"> <tr><th class="text-center" style="width: 50px;">#</th><th>Овог</th><th class="d-none d-sm-table-cell">Нэр</th><th class="text-center">Цалин</th></tr> </thead> <tbody> <tr> <td>1</td> <td>Дашдорж</td> <td>Цэцэгмаа</td> <td>550000₮</td> </tr> <tr> <td>2</td> <td>Дэмбэрэл</td> <td>Бол</td> <td>558000₮</td> </tr> <tr> <td>3</td> <td>Нурлан</td> <td>Блот</td> <td>778000₮</td> </tr> <tr> <td>4</td> <td>Батжаргал</td> <td>Түвшинбаяр</td> <td>950000₮</td> </tr> <tr> <td>5</td> <td>Ганзориг</td> <td>Золжаргал</td> <td>815000₮</td> </tr> <tr> <td>6</td> <td>Ононбат</td> <td>Онон</td> <td>750000₮</td> </tr> </tbody> </table> </body> </html>