html - how can make gridview align on top of table cell -
if records on "gv1" less "gv2" (on image), "gv1" aligned center , keeps jumpy when tick checkbox, want gridview on top of table cell.
how can write css gridview set on top of table cell? !!!!
<style type="text/css"> .top { vertical-align:top; } </style> <table border="2" style="width: 1050px"> <tr> <td class="style9">building </td> <td class="style10" colspan="2">dropdownlist </td> </tr> <tr> <td >unit</td> <td > <div class="top"> update panel &gridview </div> </td> <td > <div class="top"> update panel &gridview </div> </td> </tr> </table>
try vertical-align:top
table cell or try
td{ vertical-align:text-top; }
Comments
Post a Comment