我的页面在IE6和FF上都可以正常显示,,在IE8上测试不行,本来IE8上每个div都有滚动条使得页面乱了,我把
 <li class="gggl" style="overflow:scroll;width:32px;">${(page-1)*20+currentCount.count}</li>中的overflow:scroll;去掉就OK了,可第二个页面同样的就不行。我有两个页面,一个就可以,一个不行,不知道哪里出问题了,下面给大家看一个IE8上可以的:
<div  id="Content-SubDetail" style="overflow:scroll;border-left:solid 1px #9BC5EB;border-bottom:solid 1px #9BC5EB;height:360px;overflow-x:hidden;overflow-y:scroll;">
<c:forEach var="tongxunluList" items="${tongxunluList}" varStatus="currentCount">
                <ul style="overflow-x:hidden; text-align:center;">           
                        <li class="gggl" style="width:32px;">${(page-1)*20+currentCount.count}</li>
                    <li class="gggl" style="width:110px;" title="${tongxunluList.name}">${tongxunluList.name}</li>
<li class="gggl" style="width:131px;" title="${tongxunluList.h_phone}">${tongxunluList.h_phone}</li>
                    <li class="gggl" style="width:45px;"><a href="../servlet/AddrsServlet?action=EditTongXunLu&id=${tongxunluList.id}&page=${page}" >编辑</a></li>
                    <li class="gggl" style="width:45px;"><a href="../servlet/AddrsServlet?action=DelTongXunLu&id=${tongxunluList.id}&page=${page}&count=${count}&allpage=${allpage}" onClick="{if(confirm('此操作将删除本条记录信息!\n \n 删除后将不能恢复,您确定执行的操作吗?')){return true;}return false;}">删除</a></li>
                </ul>
</c:forEach>
            </div>再看一个IE8上不行的:
<div  id="Content-SubDetail" style="overflow:scroll;height:377px;overflow-x:hidden;overflow-y:scroll;">
             <c:forEach var="leaderboxlist" items="${leaderboxlist}" varStatus="currentCount">
                <ul style="overflow-x:hidden; text-align:center;">           
<li class="gggl" style="width:50px;">${(page-1)*16+currentCount.count}</li>  
<li class="gggl" style="width:200px;">${leaderboxlist.auther}</li>  
<li class="gggl" style="width:148px;">${leaderboxlist.ip}</li>  
<li class="gggl" style="width:184px;">${leaderboxlist.mailtime}</li> 
                        <li class="gggl" style="width:99px; align=center valign=middle"><a href="../servlet/LeaderBoxServlet?action=ReadLeaderBox&mailid=${leaderboxlist.mailid}&page=${page}" >查看</a></li>
                        <li class="gggl" style="width:100px; align=center valign=middle"><a href="../servlet/LeaderBoxServlet?action=DelLeaderBox&mailid=${leaderboxlist.mailid}&page=${page}" onClick="{if(confirm('此操作将删除本条记录信息!\n \n 删除后将不能恢复,您确定执行的操作吗?')){return true;}return false;}">删除</a></li>            
                </ul>
</c:forEach>
            </div>
一样的东西为什么就不能显示正常呢?