Maison >interface Web >tutoriel HTML >!一个table 我想在上面两行的右侧插入图片link,如何做呢?_html/css_WEB-ITnose
<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>
...
<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>