Home >Web Front-end >HTML Tutorial >!一个table 我想在上面两行的右侧插入图片link,如何做呢?_html/css_WEB-ITnose

!一个table 我想在上面两行的右侧插入图片link,如何做呢?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:17:111411browse

<table width="915" height="180" border="0" align="center" cellspacing="0"><tr>		<td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>			</tr>    <tr>		<td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>			</tr><tr>		<td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>				<td bgcolor="#CCFFCC">		<div align="center"><font size="5"><strong>test</strong></font></div>		</td>			</tr></table>


回复讨论(解决方案)

<table width="915" height="180" border="0" align="center" cellspacing="0"><tr>	<td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td height="60" bgcolor="#CCFFCC" colspan="6"><a href="http://www.baidu.com"><img src="http://www.baidu.com/img/baidu_jgylogo3.gif" alt="到百度首页" title="到百度首页"></a></td></tr><tr>	<td    style="max-width:90%" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td height="60" bgcolor="#CCFFCC" colspan="6"><a href="http://www.baidu.com"><img src="http://www.baidu.com/img/baidu_jgylogo3.gif" alt="到百度首页" title="到百度首页"></a></td></tr><tr>    <td    style="max-width:90%" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td></tr></table>

...


可能没有理解意思, 我指的是插入1个图片,
换句话说, 这两个图片如何合并在一起且在中间呢?

<table width="915" height="180" border="0" align="center" cellspacing="0"><tr s>    <td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td height="60" bgcolor="#CCFFCC" colspan="6" rowspan="2" align="center"><a href="http://www.baidu.com"><img src="http://www.baidu.com/img/baidu_jgylogo3.gif" alt="到百度首页" title="到百度首页"></a></td></tr><tr>    <td    style="max-width:90%" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td></tr><tr>    <td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td></tr></table>

上面那个有点问题

<table width="915" height="180" border="0" align="center" cellspacing="0"><tr>    <td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td bgcolor="#CCFFCC" colspan="6" rowspan="2" align="center"><a href="http://www.baidu.com"><img src="http://www.baidu.com/img/baidu_jgylogo3.gif" alt="到百度首页" title="到百度首页"></a></td></tr><tr>    <td    style="max-width:90%" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td></tr><tr>    <td height="60" bgcolor="#CCFFCC"><font size="5"><strong>test</strong></font></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td>    <td bgcolor="#CCFFCC"><div align="center"><font size="5"><strong>test</strong></font></div></td></tr></table>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn