【发布时间】:2017-10-24 10:34:15
【问题描述】:
我有一张表格和一行附加到图片的链接。我无法在表格下获得这些链接。无论我做什么,它都停留在它之上。
我的代码可能看起来很庞大或只是错误的。
<table style="margin-top:10px; margin-left:165px" border="1" cellpadding="15" cellspacing="5">
<tbody><tr>
<tr style="background-color:#FF0000;color:#ffffff;">
<td><div><iframe src="https://www.youtube.com/embed/2NaNp7nmYMg?ecver=2" width="481" height="274" frameborder="0" allowfullscreen></iframe></div> </td>
<td><div><iframe src="https://www.youtube.com/embed/_z5rqY8tAYQ?ecver=2" width="481" height="274" frameborder="0" allowfullscreen></iframe></div> </td>
<td><div><iframe src="https://www.youtube.com/embed/dheMabIam7c?ecver=2" width="481" height="274" frameborder="0" allowfullscreen></iframe></div> </td>
</tr>
<p style="padding-left: 750px; padding-top: 50px"
<a href="https://twitter.com/ShadowKiller158" target="_blank"></a>
<a href="https://youtube.com/user/shadowman158" target="_blank"><img src="youtube.png" alt="YouTube" width="75" border="0" height="75"></a>
<a href="https://twitter.com/ShadowKiller158" target="_blank"><img src="twitter.png" alt="Twitter" width="75" border="0" height="75"></a>
<a href="https://www.facebook.com/alexander.schewior" target="_blank"><img src="facebook.png" alt="Facebook" width="75" border="0" height="75"></a>
<a href="http://steamcommunity.com/id/ShadowManTM/" target="_blank"><img src="steam.png" alt="Steam" width="75" border="0" height="75"></a>
<a href="https://www.instagram.com/shadowmantm/" target="_blank"><img src="instagram.png" alt="Instagram" width="75" border="0" height="75"></a>
</p>
【问题讨论】:
-
你还没有关闭你的 tbody 和 table 标签或你的开始 p 标签。这也是你所有的代码和样式 - 如果是这样,那么 p 没有理由出现在表格上方
-
傻我!谢谢,我自己从来没有注意到这一点。现在可以了!
标签: html hyperlink html-table paragraph