I am attempting to create a feature where images within cells in an HTML table enlarge when hovered over. My goal is to implement this functionality across all tables on my website. Take a look at the code I have written so far:
td img {
height: 150px;
}
td img:hover{
height: 175px;
}
Although this code sets the initial image height correctly, nothing actually happens when I hover over them. It is clear that I am missing something here, but what could it be?