summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cgi.c b/cgi.c
index 18f6b7ba..79c0b3a8 100644
--- a/cgi.c
+++ b/cgi.c
@@ -497,6 +497,8 @@ resp_search(struct res *r, size_t sz, void *arg)
resp_begin_html(200, NULL);
resp_searchform(req);
+ puts("<DIV CLASS=\"results\">");
+
if (0 == sz) {
printf("<P>\n"
"No %s results found.\n",
@@ -512,12 +514,12 @@ resp_search(struct res *r, size_t sz, void *arg)
puts("\">apropos</A>?)");
}
puts("</P>");
+ puts("</DIV>");
resp_end_html();
return;
}
- puts("<P></P>\n"
- "<TABLE>");
+ puts("<TABLE>");
for (i = 0; i < (int)sz; i++) {
printf("<TR>\n"
@@ -540,7 +542,8 @@ resp_search(struct res *r, size_t sz, void *arg)
"</TR>");
}
- puts("</TABLE>");
+ puts("</TABLE>\n"
+ "</DIV>");
resp_end_html();
}