src/hg/lib/web.c 1.158
1.158 2009/02/13 02:38:27 markd
fixed some invalid html
Index: src/hg/lib/web.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/web.c,v
retrieving revision 1.157
retrieving revision 1.158
diff -b -B -U 4 -r1.157 -r1.158
--- src/hg/lib/web.c 3 Feb 2009 22:40:37 -0000 1.157
+++ src/hg/lib/web.c 13 Feb 2009 02:38:27 -0000 1.158
@@ -1105,8 +1105,17 @@
printf(" COLSPAN=%d", colSpan);
printf("><FONT COLOR=\"#FFFFFF\"><B>%s</B></FONT></TD>", label);
}
+void webPrintWideCenteredLabelCell(char *label, int colSpan)
+/* Print label cell over multiple columns in our colors and centered. */
+{
+printf("<TD BGCOLOR=\"#"HG_COL_TABLE_LABEL"\"");
+if (colSpan > 1)
+ printf(" COLSPAN=%d", colSpan);
+printf("><CENTER><FONT COLOR=\"#FFFFFF\"><B>%s</B></FONT></CENTER></TD>", label);
+}
+
void webPrintLabelCell(char *label)
/* Print label cell in our colors. */
{
webPrintWideLabelCell(label, 1);