Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在HTML中向2行表的左侧添加图像_Html - Fatal编程技术网

如何在HTML中向2行表的左侧添加图像

如何在HTML中向2行表的左侧添加图像,html,Html,我试图帮助客户创建电子邮件签名,但我的HTML技能非常初级。我试图让他的标志在签名的左边,而在最右边是一排社交图标,以及图标下方的日历链接。我试着把所有东西都包装在一张桌子上,然后在另一张桌子上嵌套社交图标和Calendally链接,但徽标总是出现在自己的一行上。或者徽标和社交图标显示在同一行上,但日历链接位于单独的一行上,因此社交图标和日历链接之间存在很大的差距 以下是我所拥有的: <table cellpadding="0" cellspacing="0&

我试图帮助客户创建电子邮件签名,但我的HTML技能非常初级。我试图让他的标志在签名的左边,而在最右边是一排社交图标,以及图标下方的日历链接。我试着把所有东西都包装在一张桌子上,然后在另一张桌子上嵌套社交图标和Calendally链接,但徽标总是出现在自己的一行上。或者徽标和社交图标显示在同一行上,但日历链接位于单独的一行上,因此社交图标和日历链接之间存在很大的差距

以下是我所拥有的:

<table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Arial; width: 100%;">
<tbody>
    <tr>
        <td style="text-align: left; vertical-align: top;">
            <img src="https:logo.png" role="presentation" width="300" height="85" class="sc-cHGsZl bHiaRe" style="max-width: 300px;">
            </td>
            <td style="text-align: right; vertical-align: top;">
                <table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Arial; display: inline-block;"
                    <table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Arial; display: inline-block;">
                        <tbody>
                            <tr style="text-align: right;">
                                <td>
                                    <a href="https://www.facebook.com/linkhere" color="#754C29" class="sc-hzDkRC kpsoyz" style="display: inline-block; padding: 0px; background-color: rgb(117, 76, 41);">
                                        <img src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/facebook-icon-2x.png" alt="facebook" color="#754C29" height="24" class="sc-bRBYWo ccSRck" style="background-color: rgb(117, 76, 41); max-width: 135px; display: block;">
                                        </a>
                                    </td>
                                    <td width="5">
                                        <div></div>
                                    </td>
                                    <td>
                                        <a href="https://www.linkedin.com/linkhere" color="#754C29" class="sc-hzDkRC kpsoyz" style="display: inline-block; padding: 0px; background-color: rgb(117, 76, 41);">
                                            <img src="https://cdn2.hubspot.net/hubfs/53/tools/email-signature-generator/icons/linkedin-icon-2x.png" alt="linkedin" color="#754C29" height="24" class="sc-bRBYWo ccSRck" style="background-color: rgb(117, 76, 41); max-width: 135px; display: block;">
                                            </a>
                                        </td>
                                        <td width="5">
                                            <div></div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table cellpadding="0" cellspacing="0" class="sc-gPEVay eQYmiW" style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Arial; width: 100%;">
                <tbody>
                    <tr>
                        <td height="15"></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td style="text-align: right;">
                            <span style="display: block; text-align: right;">
                                <a target="_blank" rel="noopener noreferrer" href="//" color="#002F59" class="sc-fAjcbJ byigni" style="border-width: 6px 12px; border-style: solid; border-color: rgb(0, 47, 89); display: inline-block; background-color: rgb(0, 47, 89); color: rgb(255, 255, 255); font-weight: 700; text-decoration: none; text-align: center; line-height: 40px; font-size: 12px; border-radius: 3px;">https://calendly.com/linkhere</a>
                            </span>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td>
    </table>
</tr>


<td style="text-align: center; vertical-align: middle">