Example:
<fieldset style=" width:350px; background-color:#CCF">
<legend style="padding:4px 12px; border:double; background-color:#CC9">Login</legend>
<table width="350" height="138" border="0" cellpadding="12" cellspacing="6" >
<tr>
<td>Username:</td>
<td><input type="text" name="unm" placeholder="User Name" /></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="pwd" placeholder="Password" /></td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle">
<input type="submit" value="Login" />
</td>
</tr>
</table>
</fieldset>
Output:
<fieldset style=" width:350px; background-color:#CCF">
<legend style="padding:4px 12px; border:double; background-color:#CC9">Login</legend>
<table width="350" height="138" border="0" cellpadding="12" cellspacing="6" >
<tr>
<td>Username:</td>
<td><input type="text" name="unm" placeholder="User Name" /></td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="pwd" placeholder="Password" /></td>
</tr>
<tr>
<td colspan="2" align="center" valign="middle">
<input type="submit" value="Login" />
</td>
</tr>
</table>
</fieldset>
Output:
No comments:
Post a Comment