ec4568d14f455627aa84b614bafb82b03a2edc8a tdreszer Fri May 6 14:35:35 2011 -0700 Fixes to spacing issues on hgTrackUi and hgFileUi where navlinks and description page resulted in extra lines. Created subheadingBar div to replace one of the many nested tables and use CSS. diff --git src/hg/lib/web.c src/hg/lib/web.c index b2ad53c..9c64741 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -575,37 +575,36 @@ " " "\n" "" "\n" ); #endif///def TOO_TIMID_FOR_CURRENT_HTML_STANDARDS if(!skipSectionHeader) /* this HTML must be in calling code if skipSectionHeader is TRUE */ { #ifndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "" "\n" "\n" " \n" "
\n" "
\n" - "
\n" - "  " + "
" ); htmlTextOut(textOutBuf); puts( - "
\n" + " \n" " \n" "
 \n\n" ); #else///ifdef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS puts( "" "\n" "
" "\n" " " "\n" "
" "\n" "
" "\n" "
" "\n" "  " ); htmlTextOut(textOutBuf); @@ -709,38 +708,37 @@ void webNewSection(char* format, ...) /* create a new section on the web page */ { va_list args; va_start(args, format); webEndSection(); puts(""); #ifndef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "
\n\n" " \n" "
\n" "
\n" - "
\n" - "   " + "
" ); vprintf(format, args); puts( - "
\n" + " \n" " \n" "
 \n\n" ); #else///ifdef TOO_TIMID_FOR_CURRENT_HTML_STANDARDS puts( "
" "\n" "" "\n" " " "\n" "
" "\n" "
" "\n" "
" "\n" "   " ); vprintf(format, args);