I've exhausted all topics but nothing seems to be working for me! My goal is to have a table completely covered with anchor tags, but for some reason, it's not displaying any links within the TD elements, not even the text!
HTML
<table border=1>
<tr>
<a href="1.php"><td>A</td></a>
<a href="2.php"><td>B</td></a>
<a href="3.php"><td>C</td></a>
</tr>
<tr>
<a href="4.php"><td>D</td></a>
<a href="5.php"><td>E</td></a>
<a href="6.php"><td>F</td></a>
</tr>
</table>
CSS
table {
border-collapse:collapse;
border:white;
background-color:#0078ff;
}
td {
font-size:50px;
padding:50px;
text-align:center;
color:white;
}
I'm stumped as to why it's not working. I even attempted:
td a {
font-size:50px;
padding:50px;
text-align:center;
color:white;
display:block;
height:100%;
width:100%;
}
Any suggestions?