网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  Java相关  >  jsp页面中加了元素后,页面出现了一大片空缺后才出现表格

jsp页面中加了

元素后,页面出现了一大片空缺后才出现表格
分类: IT文章 • 2022-05-21 20:36:36
jsp页面中加了<table>元素后,页面出现了一大片空白后才出现表格?
jsp页面中加了<table>元素后,页面出现了一大片空白后才出现表格?
------最佳解决方案--------------------
每一行多个空格
------其他解决方案--------------------
<%@
这些东西也要换行的.....
如果你指的空白是出现在源代码中
------其他解决方案--------------------
下面是出现问题的代码部分:页面在这个table上面有一大段空白,空白画面跟table的大小差不多
<table style="margin-left:100px;">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="2" style="border-collapse:collapse;" class="list" width="655" >
<col span=1 width="60" >
<col span=1 width="110">
<col span=1 width="140">
<col span=1 width="100">
<col span=1 width="80">
<col span=1 width="60">
<col span=1 width="60">
<col span=1 width="60">
<tr>
<th align="center">顧客ID</th>
<th align="center">顧客姓名</th>
<th align="center">会員種別</th>
<th align="center">電話番号</th>
<th align="center">    </th>
<th align="center">    </th>
<th align="center">    </th>
<th align="center">    </th>
</tr>
<s:iterator value="form.info" id="use" status="ul">
<tr> 
        <td align="center">
            <a href="JavaScript:doUpdate('<s:property id="customerID" value="customerID" default="" />');">
    <s:property value="customerID" />
</a>
<%--           <s:if test="staffType==3"> 
            <s:property value="customerID" />
            </s:if>
            <s:else>
               <a href="JavaScript:doUpdate('<s:property id="customerID" value="customerID" default="" />');">
    <s:property value="customerID" />
</a>
            </s:else> --%>
        </td>
<td align="center"><s:property value="customerFamilyName" />&nbsp;<s:property value="customerLastName" /></td>
<td align="center"><s:if test="customerType==1">特定健診会員</s:if><s:else>クリエティブヘルス会員</s:else></td>
<td align="center"><s:property value="telephoneNo" /></td>
<td align="center"><a href="JavaScript:doBaseShow('<s:property id="customerID" value="customerID" default="" />');">基本項目</a>
<%--  TODO <s:if test="staffType==2">
<a href="JavaScript:doBaseShow('<s:property id="customerID" value="customerID" default="" />');">基本項目</a>
</s:if>
<s:else>
<a href="JavaScript:doBaseEdit('<s:property id="customerID" value="customerID" default="" />');">基本項目</a>

相关推荐

  • jsp页面中加了
元素后,页面出现了一大片空白后才出现表格?解决方法
  • jsp页面中加了
  • 元素后,页面出现了一大片空缺后才出现表格
  • jsp 页面中怎么设计上下滚动的页面?还有就是一个固定表格中的数据能否放到上下滚动页中进行滚动显示呢
  • jsp 下执行 sql 查询数组,该怎么处理
    • 网站免责声明 网站地图 最新文章 用户隐私 版权申明
    本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

    Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号