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/hgc/regMotif.c src/hg/hgc/regMotif.c index 06d13ec..a02fdf0 100644 --- src/hg/hgc/regMotif.c +++ src/hg/hgc/regMotif.c @@ -51,33 +51,33 @@ c = 'g'; } if (motif->tProb[i] > best) { best = motif->tProb[i]; c = 't'; } printf("<td align='center'>"); if (best >= 0.90) printf("<B>%c</B>", toupper(c)); else if (best >= 0.75) printf("%c", toupper(c)); else if (best >= 0.50) printf("%c", tolower(c)); else if (best >= 0.40) - printf("<FONT COLOR=\"#A0A0A0\">%c</FONT>", tolower(c)); + printf("<span style='color:#A0A0A0;'>%c</span>", tolower(c)); else - printf("<FONT COLOR=\"#A0A0A0\">.</FONT>"); + printf("<span style='color:#A0A0A0;'>.</span>"); printf("</td>"); } } static void printProbRow(FILE *f, char *label, float *p, int pCount) /* Print one row of a probability profile. */ { int i; fprintf(f, "<tr><td width='20' align='center'>%s</td>", label); for (i=0; i < pCount; ++i) fprintf(f, "<td align='center'>%5.2f</td>", p[i]); printf("<td></td></tr>\n"); } static void dnaMotifPrintProbTable(struct dnaMotif *motif, FILE *f)