gpt4 book ai didi

html - 表格中的移动图像

转载 作者:行者123 更新时间:2023-11-27 23:25:57 24 4
gpt4 key购买 nike

<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>

关于html - 表格中的移动图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38530783/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com