在表格中移动图像
问题描述:
<td width="570">
<table bgcolor="#FFFFFF" cellpadding="20" cellspacing="0">
<tbody>
<tr>
<td width="530">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td rowspan="7" align="center" height="100%" valign="top" width="85"><img src="img here!"></td>
<td rowspan="7" height="100%" width="20">
<table width="20">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="line-height:10px;font-size:1px;" colspan="1" nowrap="" height="10" valign="top" width="425"></td>
</tr>
<tr>
<td width="425">
<h3 style="color: #172E4D; font-family: Arial,sans-serif; font-size: 16px; line-height:19px; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"> How to sell a cafe, sandwich bar, fish and chip shop... </h3>
</td>
</tr>
<tr>
<td style="line-height:15px;font-size:1px;" colspan="1" nowrap="" height="15" valign="top" width="425"></td>
</tr>
<tr>
<td width="425"></td>
</tr>
<tr>
<td style="color: #666666; font-family: Arial,sans-serif; font-size: 14px; line-height:17px; font-weight: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" width="100%">Well, not just selling a cafe, selling any food or drink related business can be tough, with over 8,000 other food and drink related businesses actively trying to sell you need the right advice.</td>
</tr>
<tr>
<td style="line-height:10px;font-size:1px;" colspan="1" nowrap="" height="10" valign="top" width="425"></td>
</tr>
<tr>
<td align="left" valign="middle" width="425">
<table border="0" cellpadding="0" cellspacing="0">
<tbody> </tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
嗨,我期待将图像移动到右侧,并将文本移到左侧。我一直试图做几个小时,但似乎无法做到,请帮助!在表格中移动图像
答
试试这个,你有很多不必要的表行和列。图像现在跨越2行,并在右侧。
<table bgcolor="#FFFFFF" cellpadding="20" cellspacing="0" style="width:570px">
<tbody>
<tr>
<td width="425px">
<h3 style="color: #172E4D; font-family: Arial,sans-serif; font-size: 16px; line-height:19px; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"> How to sell a cafe, sandwich bar, fish and chip shop... </h3></td>
<td rowspan="7" align="center" height="100%" valign="top" width="85">
<img src="img here!">
</td>
</tr>
<tr>
<td style="color: #666666; font-family: Arial,sans-serif; font-size: 14px; line-height:17px; font-weight: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" width="100%">Well, not just selling a cafe, selling any food or drink related business can be tough, with over 8,000 other food and drink related businesses actively trying to sell you need the right advice.</td>
</tr>
</tbody>
</table>
什么意象?什么文字?你做了什么具体的尝试来解决这个问题? –
你好我已经添加了一个屏幕截图到它看起来像这个文本,但我想改变图像的权利和文字左侧。我一直在寻找谷歌几个小时,如何做到这一点,只是不能正确的,如果我得到的图片正确的文本不工作。 https://i.gyazo.com/c7250eab82e609d9d972b33ff6684a5f.png –