diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-02 23:35:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-02 23:35:04 +0000 |
commit | 7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f (patch) | |
tree | 797ead298fa52e06746a09e9043db86a12e3fcfd | |
parent | 408bf86abd18c61bb70ed28b2045d07c599a91b2 (diff) | |
download | brdo-7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f.tar.gz brdo-7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f.tar.bz2 |
- Added Michael's dummy print.css to avoid watchdog errors.
- Added a comment to explain why we include a dummy stylesheet.
-rw-r--r-- | admin.php | 1 | ||||
-rw-r--r-- | misc/print.css | 24 |
2 files changed, 25 insertions, 0 deletions
@@ -24,6 +24,7 @@ function admin_page($mod) { </head> <body> <?php + // NOTE: we include a dummy "print.css" to remove the "flash of unstyled content" (FUOC) problems in IE. module_invoke_all("link", "admin"); diff --git a/misc/print.css b/misc/print.css new file mode 100644 index 000000000..4b7d5bb1f --- /dev/null +++ b/misc/print.css @@ -0,0 +1,24 @@ +body { + margin: 1em; + background-color: #fff; +} +th { + text-align: left; + color: #006; + border-bottom: 1px solid #ccc; +} +tr.dark { + background-color: #ddd; +} +tr.light { + background-color: #fff; +} +td { + padding: 5px; +} +#menu { + visibility: hidden; +} +#main { + margin: 1em; +}
\ No newline at end of file |