ebeefbf41d884926efc42da649b73e4bf120b216
tdreszer
  Thu May 5 16:50:56 2011 -0700
Reverting span center to old style center tags because CSS didn't work as expected.
diff --git src/hg/hgText/hgText.c src/hg/hgText/hgText.c
index 68a0242..12dfb6f 100644
--- src/hg/hgText/hgText.c
+++ src/hg/hgText/hgText.c
@@ -616,59 +616,59 @@
 return FALSE;
 }
 
 void doGateway()
 /* Table Browser gateway page: select organism, db */
 {
 webStart(cart, "Table Browser: Choose Organism and Assembly");
 
 if (! hDbIsActive(database))
     {
     database = hDefaultDb();
     organism = hGenome(database);
     }
 
 puts(
-"<span style='text-align:center;'>"
+"<CENTER>"
 "<TABLE BGCOLOR='#FFFEF3' BORDERCOLOR='#CCCC99' BORDER=0 CELLPADDING=1>\n"
 "<TR><TD style='font-size:small; text-align:center;'>\n"
 "The UCSC Table Browser was created by the \n"
 "<A HREF=\"/staff.html\">Genome Bioinformatics Group of UC Santa Cruz</A>. \n"
 "<BR>\n"
 "Software Copyright (c) The Regents of the University of California.\n"
 "All rights reserved.\n"
-"</TD></TR></TABLE></span><P>\n"
+"</TD></TR></TABLE></CENTER><P>\n"
 );
 
 puts("<P>This tool allows you to download portions of the Genome Browser \n"
      "database in several output formats. \n"
      "Choose a genome and assembly, \n"
      "then press the Submit button.\n");
 puts("See the <A HREF=\"/goldenPath/help/hgTextHelp.html\">Table Browser "
      "User Guide</A> for more information.<P>\n"
      "<B style='color:#FF0000;'>NOTE: This software has been replaced by a "
      "<A HREF=\"hgTables\">newer version</A> of the Table Browser. "
      "This version of the tool is no longer "
      "maintained or updated by UCSC; therefore, we can make no guarantees "
      "about the completeness or correctness of the data returned. "
      "We are happy to assist you in the transition to the new Table "
      "Browser, which has many more features. Please "
      "email our public <A HREF=\"mailto:genome@soe.ucsc.edu\">mailing "
      "list</A> with questions or comments.</B> "
      "<P> ");
 
-puts("<span style='text-align:center;'>");
+puts("<CENTER>");
 printf("<FORM ACTION=\"%s\" NAME=\"mainForm\" METHOD=\"%s\">\n",
        hgTextName(), httpFormMethod);
 puts(
 "<table bgcolor='#CCCC99' border=0 CELLPADDING=1 CELLSPACING=0>\n"
 "<tr><td>\n"
 "<table BGCOLOR='#FEFDEF' BORDERCOLOR='#CCCC99' BORDER=0 CELLPADDING=0 CELLSPACING=0>\n"
 "<tr><td>\n"
 );
 
 puts(
 "<table bgcolor='#FFFEF3' border=0>\n"
 "<tr>\n"
 "<td>\n"
 );
 cartSaveSession(cart);
@@ -686,31 +686,31 @@
 
 puts("<td align=center>\n");
 printAssemblyListHtml(database, "");
 puts("</td><td>");
 cgiMakeButton("submit", "Submit");
 puts(
 "</td></tr></table>\n"
 "</td></tr>\n"
 "</table>\n"
 "</td></tr></table>\n"
 "</td></tr></table>\n"
 );
 cgiMakeHiddenVar("phase", chooseTablePhase);
 puts(
 "</FORM>"
-"</span>\n"
+"</CENTER>\n"
 );
 
 printf("To reset <B>all</B> user cart settings (including custom tracks), \n"
        "<A HREF=\"/cgi-bin/cartReset?destination=%s\">click here</A>.\n",
        hgTextName());
 
 printf("<FORM ACTION=\"%s\" METHOD=\"%s\" NAME=\"orgForm\">\n", hgTextName(),
        httpFormMethod);
 cgiMakeHiddenVar("org", organism);
 cgiMakeHiddenVar("db", database);
 cartSetString(cart, "db",database);
 cartSetString(cart, "org", organism);
 cartSaveSession(cart);
 puts("</FORM>");
 
@@ -863,33 +863,33 @@
 cgiContinueHiddenVar("org");
 cgiContinueHiddenVar("db");
 cgiMakeHiddenVar("position", "genome");
 
 cgiMakeHiddenVar("table", getTableVar());
 cgiMakeHiddenVar("phase", chooseTablePhase);
 if (tableIsPositional)
     cgiMakeHiddenVar("tbPosOrKeys", "keys");
 cgiContinueHiddenVar("tbTrack");
 cgiContinueHiddenVar("tbCustomTrack");
 cgiContinueHiddenVar("table0");
 cgiContinueHiddenVar("table1");
 if (tableIsPositional)
     {
     puts("<TEXTAREA NAME=tbUserKeys ROWS=10 COLS=80></TEXTAREA><BR>\n");
-    puts("<span style='text-align:center;'>");
+    puts("<CENTER>");
     puts(" <INPUT TYPE=SUBMIT Name=tbShowPasteResults VALUE=\"Submit\"><P>\n");
-    puts("</span>");
+    puts("</CENTER>");
     }
 else
     {
     puts("<P><INPUT TYPE=SUBMIT Name=submit VALUE=\"Back\"><P>\n");
     }
 cartSaveSession(cart);
 printf("</FORM>\n");
 webEnd();
 }
 
 void uploadForm()
 /* Put up upload form. */
 {
 webStart(cart, "Table Browser: Upload File of Names/Accessions for Batch Query");
 puts("<A HREF=\"/goldenPath/help/hgTextHelp.html#UploadNames\">"