[MINOR] stats/html: use the arial font before helvetica

The stats HTML output were barely readable on some browsers such as
firefox on Linux, due to the selected helvetica font which is too
small. Specifying "arial" first fixes the issue without changing the
table size. Also, the default size of 0.8em choosen to get 10px out
of 12px is wrong because it gets 9px when rounded down.
This commit is contained in:
Willy Tarreau 2009-05-10 20:08:10 +02:00
parent a3e4942ccb
commit a94f2d2ef9

View File

@ -375,14 +375,14 @@ int stats_dump_http(struct session *s, struct buffer *rep, struct uri_auth *uri)
"<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">\n"
"<style type=\"text/css\"><!--\n"
"body {"
" font-family: helvetica, arial;"
" font-family: arial, helvetica, sans-serif;"
" font-size: 12px;"
" font-weight: normal;"
" color: black;"
" background: white;"
"}\n"
"th,td {"
" font-size: 0.8em;"
" font-size: 10px;"
" align: center;"
"}\n"
"h1 {"