aab4f66a2aca5293f3536cc1d1438b17d2b09dfd tdreszer Thu May 5 16:14:15 2011 -0700 A large set of tiny changes. These fix a lot of discrepencies with bgcolor and font color declarations which were tripping up docttype 4.01. diff --git src/hg/hgText/hgWigText.c src/hg/hgText/hgWigText.c index c6a8b45..ee403e1 100644 --- src/hg/hgText/hgWigText.c +++ src/hg/hgText/hgWigText.c @@ -317,33 +317,33 @@ if (tableIsSplit) { getFullTableName(wigFullTableName, hDefaultChromDb(db), table); snprintf(query, sizeof(query), "show table status like '%s'", wigFullTableName); } else snprintf(query, sizeof(query), "show table status like '%s'", table); sr = sqlMustGetResult(conn,query); row = sqlNextRow(sr); // For some reason BORDER=1 does not work in our web.c nested table scheme. // So use web.c's trick of using an enclosing table to provide a border. puts("<P><!--outer table is for border purposes-->" "\n" - "<TABLE BGCOLOR=\"#"HG_COL_BORDER"\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"1\"><TR><TD>"); + "<TABLE BGCOLOR='#" HG_COL_BORDER "' BORDER=0 CELLSPACING=0 CELLPADDING=1><TR><TD>"); -puts("<TABLE BORDER=\"1\" BGCOLOR=\""HG_COL_INSIDE"\" CELLSPACING=\"0\">"); +puts("<TABLE BGCOLOR='#" HG_COL_INSIDE "' BORDER=1 CELLSPACING=0>"); if (row != NULL) { printf("<TR><TD COLSPAN=12>\n"); printf("<TABLE COLS=12 ALIGN=CENTER HSPACE=0>" "<TR><TH COLSPAN=1 ALIGN=LEFT> Database: %s </TH><TH COLSPAN=1 ALIGN=CENTER> Table: %s </TH><TH COLSPAN=10 ALIGN=RIGHT> Last update: %s </TH></TR></TABLE></TD></TR>\n", database, table, row[11]); } else { printf("<TR><TH COLSPAN=6 ALIGN=LEFT> Database: %s </TH><TH COLSPAN=6 ALIGN=RIGHT> Table: %s </TH></TR>\n", database, table); } sqlFreeResult(&sr);