aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblogthon.cgi6
-rw-r--r--styles/blogthon.css6
2 files changed, 6 insertions, 6 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index ddea46c..9ff2f02 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -410,9 +410,9 @@ else:
print ' <form action="" method="post">'
print ' <input type="hidden" name="ctitle" value="' + title + '" />'
print ' <input type="hidden" name="cquizv" value="' + str(cquizv) + '" />'
- print ' <span class="submit_comment_name">name:</span><input type="text" id="cname" name="cname" />'
- print ' <br /><span class="submit_comment_text">text:</span><textarea class="submit_comment_textarea" rows="5" cols="80" id="ctext" name="ctext"></textarea>'
- print ' <br /><span class="submit_comment_quiz">' + str(random_int_a) + ' +' + str(random_int_b) + '=</span><input type="text" id="cquiz" name="cquiz" />'
+ print ' <label class="submit_comment_name">name:</label><input type="text" id="cname" name="cname" />'
+ print ' <br /><label class="submit_comment_text">text:</label><textarea class="submit_comment_textarea" rows="5" cols="80" id="ctext" name="ctext"></textarea>'
+ print ' <br /><label class="submit_comment_quiz">' + str(random_int_a) + '+' + str(random_int_b) + '=</label><input type="text" id="cquiz" name="cquiz" />'
print ' <br /><input class="submit_comment_button" type="submit" id="submit" value="post comment" />'
print ' </form>'
print ' </div>'
diff --git a/styles/blogthon.css b/styles/blogthon.css
index 986cb50..5ea3bbe 100644
--- a/styles/blogthon.css
+++ b/styles/blogthon.css
@@ -357,12 +357,12 @@ div.comments {
padding-bottom: 5px;
}
- span.submit_comment_name {
+ label.submit_comment_name {
font-weight: bold;
margin-right: 5px;
}
- span.submit_comment_text {
+ label.submit_comment_text {
font-weight: bold;
margin-right: 5px;
}
@@ -371,7 +371,7 @@ div.comments {
background-color #DFDFDF;
}
- span.submit_comment_quiz {
+ label.submit_comment_quiz {
font-weight: bold;
margin-right: 5px;
}