Somes changes in HTML/CSS of banner information text
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Mon, 29 Jan 2007 21:38:39 +0000 (21:38 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Mon, 29 Jan 2007 21:38:39 +0000 (21:38 +0000)
webcit/static/webcit.css
webcit/sysmsgs.c

index 987410bce077b876dcf5372c56ad3bfe666440c7..8dc0b2e6e6c7052ce231dcc805aef4c05f64b477 100644 (file)
@@ -71,9 +71,10 @@ body {
         color: #FFFFEE;
 }
 
-.room_banner div {
+.room_banner p {
         font-size: 8pt;
         color: #FFFFEE;
+        text-align: center;
 }
 
 #banner ul {
index 7de39987929cbaebffca2f30d7e3075c9308f271..879b851507f80210f8a0c5673eae63880fcf8742 100644 (file)
@@ -40,7 +40,7 @@ void display_edit(char *description, char *check_cmd,
        svprintf("BOXTITLE", WCS_STRING, _("Edit %s"), description);
        do_template("beginbox");
 
-       wprintf("<div align=\"center\">");
+       wprintf("<p>");
        wprintf(_("Enter %s below.  Text is formatted to "
                "the reader's screen width.  To defeat the "
                "formatting, indent a line at least one space."), description);
@@ -58,7 +58,7 @@ void display_edit(char *description, char *check_cmd,
        wprintf("&nbsp;");
        wprintf("<INPUT TYPE=\"submit\" NAME=\"cancel_button\" VALUE=\"%s\"><br />\n", _("Cancel"));
 
-       wprintf("</FORM></div>\n");
+       wprintf("</FORM></p>\n");
        do_template("endbox");
        wDumpContent(1);
 }