I am creating the body of a table dynamically by jquery, in the td I assign the red class to put the color of the cell in red
in the css I apply:
.rojo{
border-width: 1px;
border-color:red;
}
function imprimirDatos(div, item) {
var cadena = "<tr class='columna'>";
cadena = "<td class='rojo'> <input class='ciudad' value='" + item.ciudad + "'>"
cadena = "<td> <input class='año' value='" + item.año + "'></td> "
div.append(cadena);
}
The edge of the cell does not change color, I do not know if it is because it is being created dynamically or by bootstrap but I apply it important and it does not paint it either.
Edition
I do not have more in the css. I think the problem may be in the bootstrap