Configuration screens : fix CSS/HTML bugs
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Fri, 17 Aug 2007 14:08:57 +0000 (14:08 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Fri, 17 Aug 2007 14:08:57 +0000 (14:08 +0000)
webcit/mainmenu.c
webcit/siteconfig.c
webcit/static/webcit.css

index 0eda83f50aafc425792c7692217ec0449a6ad797..c271b435f3d999f52285ca4bab08616d759317b1 100644 (file)
@@ -168,7 +168,7 @@ void display_aide_menu(void)
        wprintf("<div id=\"content\" class=\"service\">");
 
        wprintf("<div class=\"fix_scrollbar_bug\">"
-               "<table border=0 width=90%%> "
+               "<table> "
                "<tr valign=top><td width=50%% valign=\"top\">");
 
        print_menu_box(_("Global Configuration"), "adminitems", 4,
index 203fdefacc53586fa60e135c398fe55034acf1b3..1198fd056dea668dd400f4902060dfaa343e377b 100644 (file)
@@ -39,7 +39,7 @@ void display_siteconfig(void)
        wprintf("</h1>");
        wprintf("</div>\n");
 
-       wprintf("</div id=\"content\" class=\"service fix_scrollbar_bug\">\n");
+       wprintf("<div id=\"content\" class=\"service fix_scrollbar_bug\">\n");
 
        serv_printf("CONF get");
        serv_getln(buf, sizeof buf);
index ecbe063fb916e4c1c30a205da4e647f71a723ff8..f32a43b06412399bc4acee05a3a733b48c1a4a45 100644 (file)
@@ -248,9 +248,13 @@ li.start_page {
 }
 
 .service {
-        text-align: center;
 }
 
+.service table, .service form {
+       width: 100%;
+}
+
+
 .instructions {
 
 }