From: Art Cancro Date: Mon, 14 Feb 2005 04:57:24 +0000 (+0000) Subject: * Started changing some of the top-level tables from 100% width to 99% X-Git-Tag: v7.86~5054 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=43ab50ad18abb93c1cd0823e15ed22af7b3e9a75 * Started changing some of the top-level tables from 100% width to 99% width in order to keep the b0rken CSS box-model from displaying a horizontal scroll bar when it shouldn't. Lose, lose, lose. --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 2b42dff82..325d4952d 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,9 @@ $Log$ +Revision 601.2 2005/02/14 04:57:23 ajc +* Started changing some of the top-level tables from 100% width to 99% + width in order to keep the b0rken CSS box-model from displaying a + horizontal scroll bar when it shouldn't. Lose, lose, lose. + Revision 601.1 2005/02/13 04:22:31 ajc * Network configuration screen: add IMAPS, POP3S, and SMTPS ports @@ -2344,4 +2349,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 5d074c80e..1dfbf351d 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -155,7 +155,8 @@ void calendar_month_view(int year, int month, int day) { } /* Outer table (to get the background color) */ - wprintf("" + "
\n"); wprintf("\n"); @@ -198,7 +199,7 @@ void calendar_month_view(int year, int month, int day) { wprintf(""); } - wprintf("
", + wprintf("", ((tm.tm_mon != month-1) ? "DDDDDD" : ((tm.tm_wday==0 || tm.tm_wday==6) ? "EEEECC" : "FFFFFF")) @@ -334,7 +335,8 @@ void calendar_day_view(int year, int month, int day) { /* Outer table (to get the background color) */ - wprintf("" + "
\n"); /* Inner table (the real one) */ @@ -441,7 +443,7 @@ void calendar_day_view(int year, int month, int day) { wprintf("
" /* end of inner table */ - "
" /* end of outer table */ + "
" /* end of outer table */ ); diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index e5cdbf0e5..ad3ca5286 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -35,7 +35,7 @@ void display_main_menu(void) { output_headers(1, 1, 1, 0, 0, 0, 0); - wprintf("" + wprintf("
" "
\n"); svprintf("BOXTITLE", WCS_STRING, "Basic commands"); @@ -252,7 +252,7 @@ void display_main_menu(void) } do_template("endbox"); } - wprintf("
"); + wprintf(""); wDumpContent(2); } diff --git a/webcit/messages.c b/webcit/messages.c index 718177f4e..4e6d28f99 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -369,7 +369,7 @@ void read_message(long msgnum) { } /* begin everythingamundo table */ - wprintf("
\n"); /* begin message header table */ @@ -642,7 +642,7 @@ ENDBODY: wprintf("
\n"); /* end everythingamundo table */ - wprintf("
\n"); + wprintf("
\n"); } diff --git a/webcit/summary.c b/webcit/summary.c index f6e884aef..128dd835f 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -249,7 +249,7 @@ void summary(void) { * not people I consider worthwhile, I still want them to use WebCit. */ - wprintf(""); + wprintf("
"); /* * Column One @@ -276,7 +276,7 @@ void summary(void) { /* * End of columns */ - wprintf("
\n"); + wprintf("\n"); wDumpContent(1); } diff --git a/webcit/who.c b/webcit/who.c index eed1403f2..40a988fb3 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -61,9 +61,9 @@ void whobbs(void) wprintf("\n" "
\n"); - do_template("beginbox_nt"); - wprintf("
" - "\n\n"); + wprintf("
" + "
" + "\n"); wprintf("\n"); wprintf("\n"); wprintf(""); @@ -164,7 +164,6 @@ void whobbs(void) "\"(p)\" to send " "a page (instant message) to that user.
\n"); - do_template("endbox"); wDumpContent(1); }
Session IDUser NameRoom