1 Reply Latest reply on Feb 3, 2012 11:14 AM by Robert Galvin

    Legend Tag not working as expected

    Venkatasubbaiah Chenna



      I am using Legend tag but it was not working as expected. The line should start and end after title of the legend. But full rectangle formed. Same page works on PC. You can find the same from attached image.


      Please let me know any workaround for this.





      My Code




                      <legend>Account Information</legend>


                      <div class="editor-label">

                          Login Name



                      <div class="editor-field">

                          <%: Html.TextBoxFor(m => m.login_name)%>

                          <%: Html.ValidationMessageFor(m => m.login_name)%>





                          <input type="submit" value="Login" />