css - alignment of textbox and image button(asp.net) -


here output of ui enter image description here

may make date textbox , image button align straight task name dropdown , add image button??

here code asp.net

<table id="fix">                     <tr>                         <td >                             <asp:label id="lblusername" runat="server" text="label" style="width:80px;"></asp:label>                         </td>                         <td>                             <asp:dropdownlist id="dropdownlist1" runat="server" width="200px" style="width: 150px" datasourceid="sqldatasource1" datatextfield="username" datavaluefield="username" autopostback="true" onselectedindexchanged="dropdownlist1_selectedindexchanged">                                 <asp:listitem></asp:listitem>                             </asp:dropdownlist>                             <asp:sqldatasource id="sqldatasource1" runat="server" connectionstring="<%$ connectionstrings:soconnectionstring %>" providername="<%$ connectionstrings:soconnectionstring.providername %>" selectcommand="select username usermaster userstatus = 1 , useraccessrights = 'non-administrator' order username"></asp:sqldatasource>                         </td>                         <td>                             &nbsp;</td>                         <td>                             &nbsp;</td>                     </tr>                      <tr>                         <td style="width: 100px;">                             <asp:label id="lbldate" runat="server" text="label"></asp:label>                         </td>                         <td>                             <asp:textbox id="txtdate" runat="server" cssclass="text" size="10" maxlength="10"></asp:textbox>                              <asp:imagebutton id="imagebutton2" runat="server" width="20px" height="20px" imageurl="~/image/calandar.jpg" onclick="imagebutton2_click"/><br />                         </td>                         <td>                         </td>                         <td>                          </td>                     </tr>                     <tr>                         <td style="width: 100px">                             <asp:label id="lbltask" runat="server" text="label"></asp:label>                         </td>                         <td style="width: 200px">                             <asp:dropdownlist id="dropdownlist2" runat="server" width="150" style="width: 150px" datasourceid="sqldatasource2" datatextfield="taskname" datavaluefield="taskname">                                 <asp:listitem></asp:listitem>                             </asp:dropdownlist>                             <asp:imagebutton id="imagebutton1" runat="server" cssclass="imagebutton" imageurl="~/image/add-icon.png" onclick="imagebutton1_click" style="position: absolute; height: 20px; width: 20px;" />                             <asp:sqldatasource id="sqldatasource2" runat="server" connectionstring="<%$ connectionstrings:soconnectionstring %>" providername="<%$ connectionstrings:soconnectionstring.providername %>" selectcommand="select distinct taskname taskmaster taskstatus='1'"></asp:sqldatasource>                         </td>                         <td>                         </td>                         <td>                         </td>                     </tr>                  </table>  

your comment , suggestion appreaciated! thanks


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -