html - Table not align according to design -


i have created table, table data , tablerow align things nicely. in design view of asp.net, shows table align nicely picture shown below

enter image description here

however when enter websites, distorted

enter image description here

i'm not sure why there such drastic difference between design in asp.net , browser. below html code table cant see problem in it.

<h2 align="center">officer&#39;s profile</h2>             <br />         </td>     </tr>      <tr>         <td rowspan="6" colspan="4" width="50%">             <b>profile picture</b>             <br />             <asp:image id="image2" runat="server" />             <br />             <br />            <b>rank</b>             <br />             <asp:image id="image1" runat="server" />             <br />              <br />         </td>          <td align="left">            <b> police id :</b>             <asp:label id="lblpoliceid" runat="server" ></asp:label>             <br />          </td>     </tr>      <tr>          <td align="left">             <b>full name :</b>              <asp:label id="lblfullname" runat="server" ></asp:label>             <br />          </td>     </tr>      <tr>          <td align="left">            <b> email :</b> <asp:label id="lblemail" runat="server" ></asp:label>             <br />          </td>     </tr>      <tr>          <td align="left">             <b>contact :</b> <asp:label id="lblcontact" runat="server" ></asp:label>             <br />          </td>     </tr>                      <tr>           <td align="left">             <b>posted :</b>             <asp:label id="lbllocation" runat="server" ></asp:label>             <br />          </td>     </tr>           <tr>             <td align="left"><b>address : </b>                 <asp:label id="lbladdress" runat="server"></asp:label>                 <br />             </td>             </tr> 

i'm trying make alike in design view of asp.net

try changing

<td rowspan="6" colspan="4" width="50%" height ="500p"x> 

to

<td rowspan="6" colspan="4" width="50%" height="500px" style="vertical-align:top"> 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -