- Added Michael's dummy print.css to avoid watchdog errors.

- Added a comment to explain why we include a dummy stylesheet.
4.2.x
Dries Buytaert 2003-01-02 23:35:04 +00:00
parent 408bf86abd
commit 7a6b8e3d3c
2 changed files with 25 additions and 0 deletions

View File

@ -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");

24
misc/print.css Normal file
View File

@ -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;
}