>웹 프론트엔드 >HTML 튜토리얼 >form表单嵌套_html/css_WEB-ITnose

form表单嵌套_html/css_WEB-ITnose

WBOY
WBOY원래의
2016-06-24 12:17:381272검색

本帖最后由 oXiaoLong825227515 于 2012-12-12 16:50:42 编辑

要达到的目的如图:

出现的问题,如图:

 代码如下:
<html><head></head><body bgcolor="#DBEAF5" scroll="auto" style="overflow:auto"><form id="frm_Mod" name="frm_Mod"  method="POST" >  			<table border="1"><tr>	<table align="center">		<tr>			<td height="30">				<div align="center">					<font SIZE='3' COLOR="gray" face='黑体'>架位[1]平面图</font>				</div>			</td>		</tr>	</table></tr> <tr> <table width=90% height=30  border=0 align=center cellpadding=0 cellspacing=0>   <tr>   		<td>   			<strong>[1-10]</strong>   		</td>   </tr></table>	<table width="500"  border=0 align=center cellpadding=0 cellspacing=0>    <tr valign=top>   		 <td width=10 height=10><img  src=/whcjdag/styles/common/images/0-1.gif    style="max-width:90%"form表单嵌套_html/css_WEB-ITnose" ></td>    	 <td height=10 width="50" background=/whcjdag/styles/common/images/0-2.gif></td>    	 <td width=10 height=10><img  src=/whcjdag/styles/common/images/0-3.gif    style="max-width:90%"form表单嵌套_html/css_WEB-ITnose" ></td>    </tr> <tr><td background=/whcjdag/styles/common/images/0-4.gif> </td><td  valign=top>	<table width="100%"  border=0 cellspacing=0 cellpadding=0> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('730','45','1')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  1</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td  style="max-width:90%" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('731','45','2')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  2</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('732','45','3')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  3</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('733','45','4')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  4</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('734','45','5')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  5</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('735','45','6')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  6</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('736','45','7')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  7</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('737','45','8')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  8</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('738','45','9')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  9</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	<tr bgcolor=E8C697>					 							 <td style="cursor:hand" height=20  bgcolor=CECFCE onclick="submitInfo('739','45','10')">					<div align=right>					<table align="center">					<tr align="center">						<td align="center" width="45">						<a><div align="center" >  10</div></a>						</td>					</tr>					</table>					</div>				</td>												</tr>		 <tr valign=top>	    <td height="10" colspan="121" background=/whcjdag/styles/common/images/g5.gif></td>    </tr> 	</table></td>    <td width="10" background="/whcjdag/styles/common/images/0-5.gif" background-attachment="fixed" background-repeat="no-repeat"> </td></tr> 	<tr>		<td><img  src=/whcjdag/styles/common/images/0-6.gif    style="max-width:90%"form表单嵌套_html/css_WEB-ITnose" ></td>		<td  background=/whcjdag/styles/common/images/0-7.gif></td>		<td width=10><img  src=/whcjdag/styles/common/images/0-8.gif    style="max-width:90%"form表单嵌套_html/css_WEB-ITnose" ></td>	</tr>	<tr>			</tr></table>	</tr></table> <div id="queryDiv"  style="overflow:hidden;height:300px;display:none;bgcolor:#DBEAF5"><iframe id="queryFrame" name="queryFrame" frameborder="0" scrolling="auto"  src="" width="800"  style="max-width:90%"></iframe></div></form> </body></html><SCRIPT LANGUAGE="JavaScript"> function submitInfo(locationId,storageId,index){ 	parent.window.shelfPositionPanel_iframe_parent_function(locationId,storageId,index);}</SCRIPT>  


同样的代码、格子超过20个就会出现如上图所示的结果、15个以下就正常了
请问、我这代码哪里嵌套的有问题?

回复讨论(解决方案)

UP,有没有人解答一下

没人解答一下吗

表格网页伤不起,代码真多!

form表单嵌套  怎么提交呢?

一个table中有无限个table 你说会重叠吗?

楼上说的都不对、问题解决了。跟嵌套没关系、属性用法的问题

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