9194973261c5f060f3a41441d919d402a1add01b tdreszer Fri Apr 29 14:09:05 2011 -0700 Adjusting spacing due to DOCTYPE 4.01. diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c index de822c8..9d47e71 100644 --- src/hg/hgTables/schema.c +++ src/hg/hgTables/schema.c @@ -179,39 +179,39 @@ puts("</TR>"); if (example != NULL) example = example->next; } hTableEnd(); sqlFreeResult(&sr); } static void explainCoordSystem() /* Our coord system is counter-intuitive to users. Warn them in advance to * reduce the frequency with which they find this "bug" on their own and * we have to explain it on the genome list. */ { if (!hIsGsidServer()) { - puts("<P><I>Note: all start coordinates in our database are 0-based, not \n" + puts("<BR><I>Note: all start coordinates in our database are 0-based, not \n" "1-based. See explanation \n" "<A HREF=\"http://genome.ucsc.edu/FAQ/FAQtracks#tracks1\">" - "here</A>.</I></P>"); + "here</A>.</I>"); } else { - puts("<P><I>Note: all start coordinates in our database are 0-based, not \n" - "1-based.\n</I></P>"); + puts("<BR><I>Note: all start coordinates in our database are 0-based, not \n" + "1-based.\n</I>"); } } static void printSampleRows(int sampleCount, struct sqlConnection *conn, char *table) /* Put up sample values. */ { char query[256]; struct sqlResult *sr; char **row; int i, columnCount = 0; int itemRgbCol = -1; boolean showItemRgb = FALSE; showItemRgb=bedItemRgb(findTdbForTable(database, curTrack, table, ctLookupName)); @@ -327,31 +327,35 @@ } } if (gotRetVal) break; } slFreeList(&chain); return retVal; } static void printTrackHtml(struct trackDb *tdb) /* If trackDb has html for table, print it out in a new section. */ { if (tdb != NULL && isNotEmpty(tdb->html)) { webNewSection("%s (%s) Track Description", tdb->shortLabel, tdb->track); + char *browserVersion; + if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion < '8') puts(tdb->html); + else + printf("<span style='position:relative; top:-1.2em; margin-bottom:0em;'>%s\n</span>",tdb->html); } } static void showSchemaDb(char *db, struct trackDb *tdb, char *table) /* Show schema to open html page. */ { struct trackDb *tdbForConn = tdb ? tdb : curTrack; struct sqlConnection *conn; if (tdbForConn == NULL) conn = hAllocConn(db); else conn = hAllocConnTrack(db, tdbForConn); struct joiner *joiner = allJoiner; struct joinerPair *jpList, *jp;