You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/css/Align the form controls wit...

40 lines
1.1 KiB
HTML

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" subLang="en" xml:subLang="en">
<head>
<title>Align the form controls with table</title>
</head>
<body>
<h2>Reply to seller</h2>
<p>Use the following form to respond to seller:</p>
<form action="" method="post" name="frmRespond">
<table>
<tr>
<td><label for="emailTo">To</label></td>
<td><input type="text" name="txtTo" readonly="readonly" id="emailTo" size="25" value="Phone seller" /></td>
</tr>
<tr>
<td><label for="emailFrom">To</label></td>
<td><input type="text" name="txtFrom" id="emailFrom" size="25" /></td>
</tr>
<tr>
<td><label for="emailSubject">Subject</label></td>
<td><input type="text" name="txtSubject" id="emailSubject" size="60" /></td>
</tr>
<tr>
<td><label for="emailBody">Body</label></td>
<td><textarea name="txtBody" id="emailBody" cols="60" rows="12"> </textarea></td>
</tr>
</table>
<input type="submit" value="Send email" />
</form>
</body>
</html>