diff options
author | Arun Persaud <arun@nubati.net> | 2012-02-10 21:34:00 -0800 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2012-02-10 21:34:00 -0800 |
commit | 0b5b9bc1e0f67e7405d2b33da3a37d28e8325d7e (patch) | |
tree | fea9aa7acee52a56e9a97a5395fda14475990dec /include/output.php | |
parent | 055d81d433d6f39fc75f402a6c6ae21f947070d4 (diff) | |
download | e-DoKo-0b5b9bc1e0f67e7405d2b33da3a37d28e8325d7e.tar.gz e-DoKo-0b5b9bc1e0f67e7405d2b33da3a37d28e8325d7e.tar.bz2 e-DoKo-0b5b9bc1e0f67e7405d2b33da3a37d28e8325d7e.zip |
fixed margin collapse in .main (gray bar below header)
the h4 element has a default top margin, but the .user and .main diff didn't have any.
Because of collapsing margins they were also assigned the same margin which then created the gray bar. This doesn't happen if the parent element has non-zero padding, so I added a 1px top and bottom padding to .main, which fixed the problem
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php index 781fbb7..55122e3 100644 --- a/include/output.php +++ b/include/output.php @@ -411,7 +411,7 @@ function output_header() <meta name="viewport" content="width=device-width; initial-scale=1.0;" /> <link rel="shortcut icon" href="pics/edoko-favicon.png" /> <link rel="stylesheet" href="css/normalize.css?v=1" /> - <link rel="stylesheet" href="css/standard.css?v=40" /> + <link rel="stylesheet" href="css/standard.css?v=41" /> <link rel="stylesheet" href="css/dateinput.css?v=1"/> <script type="text/javascript" src="include/jquery.js"> </script> <script type="text/javascript" src="include/jquery.tablesorter.js"></script> |