$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
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
}
/* Outer table (to get the background color) */
- wprintf("<TABLE width=100%% border=0 cellpadding=0 cellspacing=0 "
+ wprintf("<center>"
+ "<TABLE width=99%% border=0 cellpadding=0 cellspacing=0 "
"bgcolor=#204B78><TR><TD>\n");
wprintf("<TABLE width=100%% border=0 cellpadding=0 cellspacing=0><tr>\n");
wprintf("<TR>");
}
- wprintf("<TD BGCOLOR=\"#%s\" WIDTH=14%% HEIGHT=60 VALIGN=TOP><B>",
+ wprintf("<TD BGCOLOR=\"#%s\" WIDTH=14%% HEIGHT=60 align=left VALIGN=TOP><B>",
((tm.tm_mon != month-1) ? "DDDDDD" :
((tm.tm_wday==0 || tm.tm_wday==6) ? "EEEECC" :
"FFFFFF"))
/* Outer table (to get the background color) */
- wprintf("<TABLE width=100%% border=0 cellpadding=0 cellspacing=0 "
+ wprintf("<center>"
+ "<TABLE width=99%% border=0 cellpadding=0 cellspacing=0 "
"bgcolor=#204B78><TR><TD>\n");
/* Inner table (the real one) */
wprintf("</TR></TABLE>" /* end of inner table */
- "</TD></TR></TABLE>" /* end of outer table */
+ "</TD></TR></TABLE></center>" /* end of outer table */
);
{
output_headers(1, 1, 1, 0, 0, 0, 0);
- wprintf("<TABLE WIDTH=100%%>"
+ wprintf("<center><TABLE WIDTH=99%%>"
"<TR><TD COLSPAN=2>\n");
svprintf("BOXTITLE", WCS_STRING, "Basic commands");
}
do_template("endbox");
}
- wprintf("</TD></TR></TABLE>");
+ wprintf("</td></tr></table></center>");
wDumpContent(2);
}
}
/* begin everythingamundo table */
- wprintf("<table width=100% border=1 cellspacing=0 "
+ wprintf("<center><table width=99%% border=1 cellspacing=0 "
"cellpadding=0><TR><TD>\n");
/* begin message header table */
wprintf("</TD></TR></TABLE>\n");
/* end everythingamundo table */
- wprintf("</TD></TR></TABLE><br />\n");
+ wprintf("</TD></TR></TABLE></center><br />\n");
}
* not people I consider worthwhile, I still want them to use WebCit.
*/
- wprintf("<table border=0><tr valign=top>");
+ wprintf("<center><table border=0 width=99%%><tr valign=top>");
/*
* Column One
/*
* End of columns
*/
- wprintf("</td></tr></table>\n");
+ wprintf("</td></tr></table></center>\n");
wDumpContent(1);
}
wprintf("</div>\n"
"<div id=\"content\">\n");
- do_template("beginbox_nt");
- wprintf("<CENTER>"
- "<TABLE BORDER=0 CELLSPACING=0 WIDTH=100%%>\n<TR>\n");
+ wprintf("<center>"
+ "<table border=0 cellspacing=0 width=99%% bgcolor=\"#FFFFFF\">"
+ "<tr>\n");
wprintf("<TH COLSPAN=4>Session ID</TH>\n");
wprintf("<TH>User Name</TH>\n");
wprintf("<TH>Room</TH>");
"<IMG ALIGN=MIDDLE SRC=\"/static/page.gif\" ALT=\"(p)\" "
"BORDER=0> to send "
"a page (instant message) to that user.<br /></CENTER>\n");
- do_template("endbox");
wDumpContent(1);
}