gecko/layout/html/tests/formctls/bugs/bug44000.html

85 lines
1.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>test case</title>
<style type="text/css" media="screen">
<!--
body {
margin: 0;
padding: 5%;
background-color: #000;
color: #ff0;
}
table {
table-layout: fixed;
}
td {
color: #9cf;
background-color: #666;
font-weight: bold;
}
p {
font-size: 16px;
font-family: "MS Sans Serif", verdana, sans-serif;
background-color: #333;
color: #ffc;
border: 1px solid #f90;
padding: .5em;
margin-bottom: 1em;
}
input[type="text"], select[size="1"] {
font-size: 16px;
font-family: "MS Sans Serif", verdana, sans-serif;
background-color: #000;
color: #ff0;
border-color: #fc0;
width: 180px
}
input[type="text"]:focus, select[size="1"]:focus {
background-color: #fc0;
color: #000;
border-color: #ff0;
}
input[type="submit"] {
border-color: #fc0;
background-color: #fc0;
color: #006;
}
-->
</style>
</head>
<body>
<form action="http://gw.cnnfn.com/search/topSearch" method="post">
<table border="1" cellpadding="5">
<col width="100"><col width="200">
<tr>
<td align="center">Keyword:</td>
<td><input type="text" name="search" maxlength="38"></td>
</tr>
<tr>
<td align="center">Where:</td>
<td>
<select name="search_button" size="1">
<option value="FN" selected>cnnfn</option>
<option value="WEB">the web</option>
</select>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td align="center"><input type="submit" name="submit"></td>
</tr>
</table>
</form>
</body>
</html>