23/23

Не работает код. В чём может быть проблема?
впишите текст сюда; также, отключить форматирование текста можно, начав строку с четырех пробелов
body {
width: 350px;
margin: 0;
padding: 0 10px;
font-size: 14px2
font-family: Arial, sans-serif;
}
table {
border-collapse: collapse;

}

th {
border-top: 1px solid black;
border-bottom: 1px solid black;
padding:10px;
width: 33%;
color: white;
background-color: darkcyan;

}

td {
border-bottom: 1px solid lightgray;
padding:10px;
width: 33%;

}    

.lightblue {
background-color: lightblue;
}
.lightyellow {
background-color: lightyellow;
}
.th1 {
text-align: left;
}
.th2 {
text-align: center;
}
.th3 {
text-align: right;
}

если код у вас полностью такой, как вы здесь привели, то я выделила в нем “странное” место

1 лайк