【发布时间】:2015-12-06 06:39:29
【问题描述】:
我的 Facebook 页面上嵌入了一个 iframe,但是当我最近编辑它时,我已经删除了上面的所有链接..
我想直接在横幅下方添加按钮链接并将它们置于中心位置,有人可以帮我整理代码来做到这一点,我是编码新手,因此感谢任何帮助。
要找到我的 iframe,您可以点击此链接 https://www.facebook.com/PhotographyBok/app/190322544333196/
但我的 iframe 的代码目前是这样的。
<html>
<head>
<title>""</title>
</head>
<body bgcolor="#000000">
<br>
<table width="768" border="0" align="center" cellpadding="4" cellspacing="2" style="text-align: center">
<tr>
<td height="70" colspan="3" align="center" valign="middle" bgcolor="#000000">
<img src="https://farm1.staticflickr.com/756/23511757696_469b593243_b.jpg"</h1></td>
</tr>
<tr>
<td width="124" rowspan="3" valign="top" bgcolor="#000000">
<a href="https://facebook.com/photographybok" target="_parent"><button>Timeline</button></a>
<a href="https://500px.com/marcus.bok" target="_parent"><button>Portfolio</button></a>
<a href="https://www.facebook.com/PhotographyBok/app/251458316228/" target="_parent"><button>Shop Now</button></a>
<td width="459" height="118" valign="top" bgcolor="#000000" style="text-align: center">
<font color="white">"I am a self proclaimed weekend photographic warrior.
I began learning photography when I was 15, working part time in a photographic lab, developing negatives and selling camera's, I started shooting myself with a 35mm Pentax SLR that I purchased second hand in Wellington New Zealand for $10, this served me well to learn the basics about aperture, focal length and shutter speed. Now I currently shoot with a Sony A380 DSLR.
I am constantly learning, adapting and improving, comments and followers are welcome and thanked.
My favourite photographer is Ansel Adams, I take the following quote into life and into photography."</font>
</td>
<td width="153" rowspan="3" valign="top" bgcolor="#000000">
</td>
</tr>
<tr>
<td height="433" valign="top" bgcolor="#000000"> <font color="white">"When words become unclear, I shall focus with photographs, when images become inadequate, I shall be content with silence. - Ansel Adams"</font></td>
</tr>
<tr>
<td height="44" valign="top" bgcolor="#FFFFC2">© Marcus Bok</td>
</tr>
</table>
</body>
</html>
【问题讨论】:
-
非常感谢,但链接似乎没有链接?他们死了..
-
那是因为 JsFiddle 不允许链接到页面之外。
-
复制粘贴到记事本中,在本地运行。应该工作。