1
My table:
<table id="tabela">
<th id="cabecalho" >Ação</th>
<tr id = "linAcao" >
<td><a href="#"><img src="Acao.jpg" title=""/></a></td>
<td></td>
</tr>
<th id="cabecalho" >Comedia</th>
<tr id = "linComedia">
<td><a href="#"><img src="Comedia.jpg" title=""/></a></td>
<td></td>
</tr>
<th id="cabecalho" >Terror</th>
<tr id = "linTerror" >
<td><a href="#"><img src="Terror.jpg" title=""/></a></td>
<td></td>
</tr>
<th id="cabecalho" >Drama</th>
<tr id = "linDrama" >
<td><a href="#"><img src="Drama.jpg" title=""/></a></td>
<td></td>
</tr>
<th id="cabecalho" >Romance</th>
<tr id = "linRomance" >
<td><a href="#"><img src="Romance.jpg" title=""/></a></td>
<td></td>
</tr>
</table>
What’s the mistake you’re making?
– Silvio Andorinha
Your HTML is invalid,
<th>
needs to be inside a<tr>
.– bfavaretto