I'm trying to fit an image into a <td>
that is smaller than the actual image, but I don't want the cell to grow to accomodate the image. Instead, I want the image to float above the cell.
How can I do this?
I'm trying to fit an image into a <td>
that is smaller than the actual image, but I don't want the cell to grow to accomodate the image. Instead, I want the image to float above the cell.
How can I do this?
To remove an element from the page structure, use absolute positioning:
td {position: relative;} td img {position: absolute; top: -20px; left: -20px;}