Hari B

Hari B

  • NA
  • 139
  • 68.3k

values should be in same line

Feb 3 2015 6:43 AM
hello all ,
 
     i want values should be come in same line but i get different line like below.
 
     Serial No         XYZXXXXXXX
                             (FHXXXXXXXX)
 
 
i want to like below 
       
        Serial No              XYZXXXXXXX    (FHXXXXXXXX)
 
  This is my code.
 
<table>
      <tr style="vertical-align: top;">
          <td style="text-align: left; width: 50%">
 
                 <div class="display-label">
                           &nbsp; Serial No
                  </div>
 
                  <div class="display-field">
                       <%: Model.ECU.SerialNo %>
 
                       <% if (!String.IsNullOrEmpty(Model.ECU.FHSerialNo)) %>
                       <%{ %>
                                     < h2> (<%: Model.ECU.FHSerialNo %>)</h2>
                      <%}%>
 
                  </div>
            </td>
      </tr>
</table>

Thanks in advance

 Hareesh 

Answers (1)