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> 

enter image description here

try vertical-align:top table cell or try

td{ vertical-align:text-top; } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -