您的位置:首页 > 其它

让GridView产生纵向横向的滚动条

2007-11-13 18:00 330 查看
CSS code
<style type="text/css"  id="print" media="print">
#leftSide, #footerSide {
display:none;
}
</style>
<style type="text/css" >
.Freezing
{

position:relative ;
table-layout:fixed;
top:expression(this.offsetParent.scrollTop);
z-index: 10;
}

.Freezing th{text-overflow:ellipsis;overflow:hidden;white-space: nowrap;padding:2px;}
</style>


HTML code
<div  id="Div1"  style="overflow: scroll; height: 140px;width:638px" >
Gridview 在这里
</div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: