summaryrefslogtreecommitdiff
path: root/legacy/works/form-width.html
blob: c68b9bf85ccfe13d0ae52589c87eeb715466c07e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<html>
<head>
<title>Form Width</title>
</head>
<body bgcolor="#483d8b" color="#ffffff">
<p>Test 1 (from drobe):</p>

<table><tr>

<form method="get" action="/search/">

<td>
  <select name="type">
  <option value="pages">RISC OS Websites</option>
  <option value="drobenews">Drobe News</option>
  <option value="usenet">comp.sys.acorn.*</option>
  <option value="stronghelp">Stronghelp Manuals</option>
  <option value="files">Downloadable Files</option>
  </select>
</td>

<td>
  <input type="text" name="terms" size="12" value="">
</td>

<td>
  <input type="submit" value="Go!">
</td>

</form>

</tr></table>

<p>Test 2, problem remains without borders:</p>
<table><tr>

<form method="get" action="/search/">

<td>
  <select name="type" style="border:0;">
  <option value="pages">RISC OS Websites</option>
  <option value="drobenews">Drobe News</option>
  <option value="usenet">comp.sys.acorn.*</option>
  <option value="stronghelp">Stronghelp Manuals</option>
  <option value="files">Downloadable Files</option>
  </select>
</td>

<td>
  <input type="text" name="terms" size="12" value="" style="border:0;">
</td>

<td>
  <input type="submit" value="Go!" style="border:0;">
</td>

</form>

</tr></table>

<p>Test 3, no overlapping when form elements aren't in table cells:</p>
<form method="get" action="/search/">
  <select name="type">
  <option value="pages">RISC OS Websites</option>
  <option value="drobenews">Drobe News</option>
  <option value="usenet">comp.sys.acorn.*</option>
  <option value="stronghelp">Stronghelp Manuals</option>
  <option value="files">Downloadable Files</option>
  </select>
  <input type="text" name="terms" size="12" value="">
  <input type="submit" value="Go!">
</form>


</body></html>