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

    Legend Tag not working as expected

    Venkatasubbaiah Chenna

      Hi

       

      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.

       

      thanks

      Chenna

       

      My Code

       

      <div>

                  <fieldset>

                      <legend>Account Information</legend>

                     

                      <div class="editor-label">

                          Login Name

                         

                      </div>

                      <div class="editor-field">

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

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

                      </div>

       

                     

                      <p>

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

                      </p>

                  </fieldset>

              </div>