官方网站上提供百度代码放进网页后有这个问题

来源:百度知道 编辑:UC知道 时间:2024/09/26 14:28:24
为什么在表格里面又要套一个表格,而且外面的表格无法调整大小,且外面的表格上面总是空一行出来,怎么搞???
<form action="http://www.baidu.com/baidu" target="_blank">
<table bgcolor="#FFFFFF"><tr><td>
<input name=tn type=hidden value=baidu>
<a href="http://www.baidu.com/"><img src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/logo-80px.gif" alt="Baidu" align="bottom" border="0"></a>
<input type=text name=word size=30>
<input type="submit" value="百度搜索">
</td></tr></table>
</form>

以上是代码

把代码发上来看看..

img src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/logo-80px.gif
这个图片高度撑大了..形成"空行"
外面那个不是表格
<form></form>是表单...
里面那个框,是文本域