>웹 프론트엔드 >HTML 튜토리얼 >!一个table 我想在上面两行的右侧插入图片link,如何做呢?_html/css_WEB-ITnose

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB원래의
2016-06-21 09:17:111440검색

<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="/static/imghwm/default1.png"  data-src="http://www.baidu.com/img/baidu_jgylogo3.gif"  class="lazy"   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="/static/imghwm/default1.png"  data-src="http://www.baidu.com/img/baidu_jgylogo3.gif"  class="lazy"   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="/static/imghwm/default1.png"  data-src="http://www.baidu.com/img/baidu_jgylogo3.gif"  class="lazy"   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="/static/imghwm/default1.png"  data-src="http://www.baidu.com/img/baidu_jgylogo3.gif"  class="lazy"   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>

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.