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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To remove an element from the page structure, use absolute positioning:
td {position: relative;} td img {position: absolute; top: -20px; left: -20px;}