如何在asp.net中从表格顶部显示网格。 [英] How to display grid from top of table in asp.net.

查看:76
本文介绍了如何在asp.net中从表格顶部显示网格。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一列分为两列,有一个网格,另一列有另一个网格。 Immagine第一个网格有10行,第二个网格有2行,然后行大小为10.但是第二个网格显示在td的中间,因为它的行数较少。但是我需要在td的顶部显示两个网格的行数。



我尝试了什么:



I have which is divided into two columns on one column there is one grid and on other column there is another grid. Immagine first grid has 10 rows and second grid has 2 rows then the row size will be 10. but second grid is show on middle of td because it has less rows. but i need to display both grid from top of td what ever the rows counts.

What I have tried:

but i need to display both grid from top of td what ever the rows counts.

请帮助。

推荐答案

添加css以设置td的垂直对齐
Add css to set the vertical align for td
<td style="vertical-align:bottom">



参考: HTML td valign属性 [ ^ ]


这篇关于如何在asp.net中从表格顶部显示网格。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆