aboutsummaryrefslogtreecommitdiff
path: root/guestbook
diff options
context:
space:
mode:
authorFrankie B <floppydisk05@aol.com>2022-11-22 08:52:35 +0000
committerFrankie B <floppydisk05@aol.com>2022-11-22 08:52:35 +0000
commite97cd585e35d64e787659ee32e6a0daf309f9496 (patch)
tree7641e45f68cdec97471dd2dd90df4265fc06e8be /guestbook
parentce8ea31fe594b290ddb3bf9f162b3138a1ce961f (diff)
Improve guestbook formatting
Diffstat (limited to 'guestbook')
-rwxr-xr-xguestbook/index.php29
1 files changed, 24 insertions, 5 deletions
diff --git a/guestbook/index.php b/guestbook/index.php
index b3ca930..88512e4 100755
--- a/guestbook/index.php
+++ b/guestbook/index.php
@@ -20,11 +20,30 @@
<div id="content">
<br>
<form action="submit.php" method="post">
- <b>Nickname:</b> <input type="text" name="name"><br>
- <b>Message:</b> <textarea name="message"></textarea><br>
- <b>Show IP:</b><input type="checkbox" name="showip" value="yes"><br>
- <b>Show info:</b><input type="checkbox" name="showinfo" value="yes" checked><br>
- <br><input type="submit">
+ <fieldset>
+ <legend>Add Entry</legend>
+ <table class="form">
+ <tr>
+ <td class="form"><label for="name">Name: </label></td>
+ <td class="form"><input type="text" name="name"></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="message">Message: </label></td>
+ <td class="form"><textarea name="message"></textarea></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="showip">Show IP: </label></td>
+ <td class="form"><input type="checkbox" name="showip" value="yes"></td>
+ </tr>
+ <tr>
+ <td class="form"><label for="showinfo">Show info: </label></td>
+ <td class="form"><input type="checkbox" name="showinfo" value="yes" checked></td>
+ </tr>
+ <tr>
+ <td class="form" colspan="2"><input type="submit"></td>
+ </tr>
+ </table>
+ </fieldset>
</form>
<?php