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.
<%: Html.TextBoxFor(m => m.login_name)%>
<%: Html.ValidationMessageFor(m => m.login_name)%>
<input type="submit" value="Login" />
Venka - thanks for pointing this out. It looks like the styling is not exactly what it should be. There has been some inconsistencies across browsers on this element. Is there another way around this possibly using CSS. I will get it on the backlog.