Hi,
you can use general html tags to design a cshtml page.
For example I here Provide a
login Page <table cellpadding="3px" border="3px" style="height: 20px; table-layout: auto;">
<caption style="font-weight: bold; color: Maroon">
Log In</caption>
<tr>
<td style="border: 1px; font-style: italic; font-size: 14px">
User Name
</td>
<td>
<input id="userName" type="text" name="userName" />
</td>
</tr>
<tr>
<td style="border: 1px; font-style: italic; font-size: 14px; width: 50%;">
Password
</td>
<td style="border: 1px; font-style: italic; font-size: 14px">
<input id="Password" type="password" name="password" />
</td>
</tr>
</table>
<table align="center" style="height: 20px; table-layout: auto;">
<tr>
<td>
<input id="SignIn" type="submit" value="SignIn" />
</td>
</tr>
<tr>
<td>
<a href="" style="font-size:12px;">Forgot Password</a>
</td>
</tr>
</table>
One thing you have to remember that, In Mvc, there is big role in name value pairs. so don't forget to give name attribute for respective controls(if you want to post the form).
Thank you,
Govind
Thank you,
Govind
Nismeh, if this helps please login to Mark As Answer. | Alert Moderator