52f71c2ffebe8fa15d6c5af0b6eeb854cd4723f1 kent Sat Jan 30 08:54:25 2021 -0800 Adding hgInside class to tables-for-color-and-layout that are colored HC_COL_INSIDE so can override the style as one more step away from cream colored backgrounds. diff --git src/hg/lib/web.c src/hg/lib/web.c index 3c6249d..a43fe31 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -360,40 +360,40 @@ puts( "<A NAME=\"TOP\"></A>" "\n" "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">" "\n"); } void webFirstSection(char *title) /* Put up the first section (normally done by webStartWrap). */ { puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "<!-- +++++++++++++++++++++ CONTENT TABLES +++++++++++++++++++ -->" "\n" "<TR><TD COLSPAN=3>\n" "<div id=firstSection>" " <!--outer table is for border purposes-->\n" " <TABLE WIDTH='100%' BGCOLOR='#" HG_COL_BORDER "' BORDER='0' CELLSPACING='0' " "CELLPADDING='1'><TR><TD>\n" - " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' BORDER='0' CELLSPACING='0' " + " <TABLE CLASS='hgInside' BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' BORDER='0' CELLSPACING='0' " "CELLPADDING='0'><TR><TD>\n" " <div class='subheadingBar'><div class='windowSize' id='sectTtl'>" ); // FIXME: Need a more general solution here to support styling in blue bar title. // Perhaps support escaped < and > by doubling or backslash htmlTextOut(title); puts(" </div></div>\n" - " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' CELLPADDING=0>" + " <TABLE CLASS='hgInside' BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' CELLPADDING=0>" "<TR><TH HEIGHT=10></TH></TR>\n" " <TR><TD WIDTH=10> </TD><TD>\n\n" ); } void webNewSectionHeaderStart() /* Start the header for a new section on the web page. * May be used to maintain table layout without a proper section header */ { webEndSection(); puts("<div>"); puts("<!-- +++++++++++++++++++++ START NEW SECTION +++++++++++++++++++ -->"); puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "<BR>\n\n" " <!--outer table is for border purposes-->\n"