You see, something fails to use table tags, because the texts are put at different heights, which affects even images.
HTML code:
<table>
<tr>
{% for alfa in categoria %}
<td>
<img src="{% static alfa.foto %}"/>
<br>
<a href='http://127.0.0.1:8000/filtro_categoria/{{alfa.id}}'>{{alfa.nombre}}:<br/>{{alfa.descripcion}}</a>
</td>
{% if forloop.counter|divisibleby:cantidad %}
</tr><tr>
{% endif %}
{% endfor %}
</tr>
</table>
CSS Code:
table{
color: #CCCCCC;
display: block;
text-align: center;
border-collapse: separate;
border-spacing: 5px;
}
How do I make all images look the same?