diff options
author | Colin Viebrock <cmv@php.net> | 2002-09-26 17:54:54 +0000 |
---|---|---|
committer | Colin Viebrock <cmv@php.net> | 2002-09-26 17:54:54 +0000 |
commit | c7c275b741d457367b26e8dafa5d2913bf2c75fd (patch) | |
tree | cc7b4eb68ab5df8b930e9f037c5429249eb736eb /ext/standard/css.c | |
parent | 6b8480fab67843b3a096a084c4676f5ad9a30e2f (diff) | |
download | php-git-c7c275b741d457367b26e8dafa5d2913bf2c75fd.tar.gz |
fix phpinfo() output for better browser BC
Diffstat (limited to 'ext/standard/css.c')
-rw-r--r-- | ext/standard/css.c | 88 |
1 files changed, 16 insertions, 72 deletions
diff --git a/ext/standard/css.c b/ext/standard/css.c index 5324174352..a3303875be 100644 --- a/ext/standard/css.c +++ b/ext/standard/css.c @@ -28,78 +28,22 @@ PHPAPI void php_info_print_css(void) { TSRMLS_FETCH(); - PUTS("body {"); - PUTS("background-color: #ffffff;"); - PUTS("color: #000000;"); - PUTS("font-family: verdana, arial, helvetica, sans-serif;"); - PUTS("}\n"); - PUTS("pre {"); - PUTS("font-family: \"andale mono\", \"monotype.com\", \"courier new\", courier, monospace;"); - PUTS("}\n"); - PUTS("a[href] {"); - PUTS("color: #000099;"); - PUTS("text-decoration: none;"); - PUTS("}\n"); - PUTS("a[href]:hover {"); - PUTS("text-decoration: underline;"); - PUTS("}\n"); - PUTS("table {"); - PUTS("border-collapse: collapse;"); - PUTS("width: 600px;"); - PUTS("font-size: 80%;"); - PUTS("}\n"); - PUTS(".centered {"); - PUTS("text-align: center;"); - PUTS("}\n"); - PUTS(".centered table {"); - PUTS("margin-left: auto;"); - PUTS("margin-right: auto;"); - PUTS("text-align: left;"); - PUTS("}\n"); - PUTS("td, th {"); - PUTS("vertical-align: baseline;"); - PUTS("padding: 3px;"); - PUTS("border: 1px solid #000000;"); - PUTS("}\n"); - PUTS("h1 {"); - PUTS("text-align: center;"); - PUTS("font-size: 160%;"); - PUTS("}\n"); - PUTS(".phpver {"); - PUTS("text-align: left;"); - PUTS("}\n"); - PUTS("h2 {"); - PUTS("text-align: center;"); - PUTS("font-size: 130%;"); - PUTS("}\n"); - PUTS(".entry {"); - PUTS("background-color: #ccccff;"); - PUTS("font-weight: bold;"); - PUTS("}\n"); - PUTS(".header {"); - PUTS("background-color: #9999cc;"); - PUTS("font-weight: bold;"); - PUTS("margin-left: auto;"); - PUTS("margin-right: auto;"); - PUTS("}\n"); - PUTS(".value {"); - PUTS("background-color: #cccccc;"); - PUTS("margin-left: auto;"); - PUTS("margin-right: auto;"); - PUTS("}\n"); - PUTS(".infobox {"); - PUTS("background-color: #cccccc;"); - PUTS("}\n"); - PUTS("img {"); - PUTS("float: right;"); - PUTS("border: 0px;"); - PUTS("}\n"); - PUTS("hr {"); - PUTS("width: 600px;"); - PUTS("background-color: #cccccc;"); - PUTS("border: 0px;"); - PUTS("height: 1px;"); - PUTS("}\n"); + PUTS("body {background-color: #ffffff; color: #000000;}\n"); + PUTS("body, td, th, h1, h2 {font-family: arial, helvetica, sans-serif;}\n"); + PUTS("pre {margin: 0px; font-family: \"andale mono\", \"monotype.com\", \"courier new\", courier, monospace;}\n"); + PUTS("a:link {color: #000099; text-decoration: none;}\n"); + PUTS("a:hover {text-decoration: underline;}\n"); + PUTS("table {border-collapse: collapse;}\n"); + PUTS("td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}\n"); + PUTS("h1 {font-size: 150%;}\n"); + PUTS(".p {text-align: left;}\n"); + PUTS("h2 {font-size: 125%;}\n"); + PUTS(".e {background-color: #ccccff; font-weight: bold;}\n"); + PUTS(".h {background-color: #9999cc; font-weight: bold;}\n"); + PUTS(".v {background-color: #cccccc;}\n"); + PUTS("i {color: #666666;}\n"); + PUTS("img {float: right; border: 0px;}\n"); + PUTS("hr {width: 600px; align: center; background-color: #cccccc; border: 0px; height: 1px;}\n"); } /* }}} */ |