网格视图最后一行与ie7中的水平滚动条重叠



这里我将使用下面的标记和.css,但这个网格视图在ie8和mozilla中工作,但当我在ie7中运行applicationin时,最后一行被水平滚动重叠。。有人能为我提供这个问题的解决方案吗

<div class="gridControl_container">
<asp:GridView runat="server" CssClass="gridControl" ID="GrdAD" PageSize="10" 
AllowSorting="True" AutoGenerateColumns="False">
</asp:GridView>
</div
here the css are below
gridControl_container {
    border: 1px solid #BBBBBB;
    clear: both;
    float: left;
    max-height: inherit; 
    overflow-x: auto  ! important;
   overflow-y: auto  ! important;
    width: 100%;
}
.gridControl {
    border-right: medium none;
    margin: 0;
    padding: 0;
    width: 100%;
}

下面我在gridControl_container中添加了以下样式。现在ie7运行良好。

#padding-bottom:19px;

最后是的代码

.gridControl_container {
    border: 1px solid #BBBBBB;
    clear: both;
    float: left;
    overflow-x: auto  ! important;
    overflow-y: hidden  ! important;
    width: 100%;
        #padding-bottom:19px;
}

最新更新