【急】div+table 滚动条,ie6滚动条不显示,IE8和ff显示

java杨 发布于 2011/07/13 15:13
阅读 3K+
收藏 0

如题,上代码:

    <div style="overflow: scroll;overflow-y: hidden; bottom:inherit; max-width: 100%;scrollbar-face-color:#dae0ee; scrollbar-highlight-color:#fff; scrollbar-shadow-color:black; scrollbar-3dlight-color:#8e9ec7; scrollbar-arrow-color:#6172a0; scrollbar-track-color:#fff; scrollbar-darkshadow-color:#7b8dbc;">
    <table width="100%"  border="0" style="table-layout: fixed; padding-top: 0px; padding:0px;" cellspacing="0" >
     <tr class="fontHeader" style="background-image: url('asset/images/bg_03.jpg'); " height="20">
       <#list pager1.list as field>
        <#if field_index gt 0>
         <#if (pager1.list?size!=(field_index+1)) >
          <td width="118px;"><#if field[1]??>${field[1] }</#if></td>
         </#if>
        </#if>
       </#list>
      <td align="center" width="232px;">操作<a href="Field!field.action">修改</a></td>
      </tr>
     <#list pager.list as row>
     <tr height="25" class="fontTr" onMouseOut="this.style.backgroundImage='url(asset/images/bg_06.jpg)'" onMouseOver="this.style.backgroundImage='url(asset/images/bg_08.jpg)'" style="background-image: url('asset/images/bg_06.jpg');">
      <td width="118px;">
       <#if row[1]?length gt 7 >
        <a href="Customer!toCustomerDetail.action?id=${row[0]}">${row[1]?substring(0,6)}...</a>
       <#else>
        <a href="Customer!toCustomerDetail.action?id=${row[0]}">${row[1] }</a>
       </#if>
      </td>
      <#list pager1.list as field>
       <#if field_index gt 1>
         <#if (pager1.list?size!=(field_index+1)) >
          <#if row[field_index]??>
           <#assign d='${row[field_index]}'>
          </#if>
          
          <#if d?length gt 8 >
           <td width="125px;"><#if row[field_index]??>${row[field_index].substring(0,7)}..</#if></td>
          <#else>
           <td width="125px;"><#if row[field_index]??>${row[field_index]}</#if></td>
          </#if>
         </#if>
       </#if>
      </#list>
      <td width="230px;">
       <a href="Customer!toDetail.action?id=${row[0]}"><img src="asset/images/an_03.jpg"></a>
       <a href="Customer!delete.action?id=${row[0]}" onclick='return confirm("您确信要删除吗?")'><img src="asset/images/an_05.jpg"></a>
       <a href="HistoryEvent!toGetHistoryEventByCustomerId.action?id=${row[0]}"><img src="asset/images/jysx01.jpg"></a>
      </td>
     </tr>
     </#list>
    </table>
   </div>

加载中
0
java杨
java杨
速度啊,急求大婶!!!!
返回顶部
顶部