首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

HTML关于Table标签,该怎么处理

2012-02-14 
HTML关于Table标签本人对Html语言没有接触过,页面JSP里面加了两个Table,在火狐与谷歌浏览器里是分开的即一

HTML关于Table标签
本人对Html语言没有接触过,页面JSP里面加了两个Table,在火狐与谷歌浏览器里是分开的即一上一下,在IE里为什么两个表格存在同一行?下面的是代码:打##为两个tabel
#### <table align="left" border="0" width="800" height="50">
 <tr>
 <td>Welcome,You're Super Manager,then you can add,update or delete anyone!</td></tr>
 </table>
 <form action="/admin/adminUser.do" method="post" name="addUser" onsubmit="return checkOnSubmit();">
 <input type="hidden" name="action" value="addNewuser">
###### <table align="left" border="1" width="800">
  <tr>
  <td align="center" width=33%>Username :<input type="text" name="newname"/>&nbsp;&nbsp;&nbsp;</td>
  <td align="center" width=33%>Password :<input type="text" name="newpassword"/>&nbsp;&nbsp;&nbsp;</td>
  <td ><input type="submit" value="Add newUser"></td>
  </tr>
  <tr>  
  <c:forEach items="${formodule.values}" varStatus="st">
  <td align="center" width=25%>
  <input type="checkbox" name="test" value="${formodule.values[st.index][0]}"/>${formodule.values[st.index][1] }
  <input type="hidden" name="module_id" value="${formodule.values[st.index][0]}">
  </td>
  </c:forEach>
  </tr>
  </table>

[解决办法]
这就是浏览器的兼容问题啊

热点排行