html cleanups

This commit is contained in:
mwells 2014-08-25 21:38:52 -07:00
parent b080a96301
commit 314c678538
3 changed files with 10 additions and 5 deletions

View File

@ -1488,7 +1488,8 @@ bool printLeftNavColumn ( SafeBuf &sb, State0 *st ) {
//
// DIVIDE INTO TWO PANES, LEFT COLUMN and MAIN COLUMN
//
sb.safePrintf("<TABLE border=0 height=100%% cellpadding=0>"
sb.safePrintf("<TABLE border=0 height=100%% cellpadding=0 "
"cellspacing=0>"
"\n<TR>\n");
//

View File

@ -696,7 +696,8 @@ bool printFrontPageShell ( SafeBuf &sb , long pageNum ) {
//
sb.safePrintf("<TABLE border=0 height=100%% cellpadding=0>"
sb.safePrintf("<TABLE border=0 height=100%% cellspacing=0 "
"cellpadding=0>"
"\n<TR>\n");
@ -722,7 +723,7 @@ bool printFrontPageShell ( SafeBuf &sb , long pageNum ) {
//
sb.safePrintf("<TD bgcolor=#f3c714 " // yellow/gold
"valign=top "
"style=\""
"style=\"width:210px;"
"border-right:3px solid blue;"
"\">"

View File

@ -1782,7 +1782,9 @@ bool Pages::printColors ( SafeBuf *sb, char* bodyJavascript ) {
sb->safePrintf (
"<body text=#000000 bgcolor=#"
BGCOLOR
" link=#000000 vlink=#000000 alink=#000000 %s>\n"
" link=#000000 vlink=#000000 alink=#000000 "
"style=margin:0px;padding:0px; "
"%s>\n"
"<style>"
"body,td,p,.h{font-family:"
//"arial,"
@ -2145,7 +2147,8 @@ bool Pages::printAdminLinks ( SafeBuf *sb,
"</a>"
"</b>"
//"</span>"
" &nbsp; \n"
" &nbsp; "
"\n"
,s_pages[i].m_filename
,coll
,buf