-
Image scretch in <td>
Hello,
I have problem ,
<table border="1" cellpadding="0" cellspacing="0" >
<tr height="35px">
<td style="width: 100px; height: 31px;">
</td>
<td style="width: 100px; text-align: center; height: 35px;">
<img src="SiteImages/mo14.jpg" /></td>
<td style="width: 100px; height: 31px;">
</td>
</tr>
</table>
I want Image in td tag to be not scretch the height more than 35 px if the hieght of the image more than 35px...
and IF the height of the Image less than 35px to be not scretch of the origenal size...
thanks
-
-
Edit your image in an image processing program so that it is the size that you want it to be.
Also of note:
You cannot have td's of varying heights in the same tr.
The tr tag has no height.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks