com web/php: Removed the margin-top for h4, h5, and h6; this allows them to be flush on the top of the page. After looking at a few pages that use h4
tags, it seems if they are not at the top they are below an element that has a margin-bottom, so we should be okay.: styles/theme-base.css
| From: | Levi Morrison | Date: | Wed, 01 Jan 2014 20:36:24 +0000 |
| Subject: | com web/php: Removed the margin-top for h4, h5, and h6; this allows them to be flush on the top of the page. After looking at a few pages that use h4 tags, it seems if they are not at the top they are below an element that has a margin-bottom, so we should be okay.: styles/theme-base.css |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17981@lists.php.net to get a copy of this message | ||
Commit: 304ef25036be593831c76446483c9b2c3466fc31
Author: Levi Morrison <levim@php.net> Wed, 1 Jan 2014 13:36:24 -0700
Parents: acf87cb5bc70ee6007fa6b967757bd96288b1b22
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=304ef25036be593831c76446483c9b2c3466fc31
Log:
Removed the margin-top for h4, h5, and h6; this allows them to be flush on the top of the page.
After looking at a few pages that use h4 tags, it seems if they are not at the top they are below an
element that has a margin-bottom, so we should be okay.
Changed paths:
M styles/theme-base.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 85a577f..b805cf6 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -425,7 +425,7 @@ a {
h4, h5, h6 {
font-size:1.125em;
line-height: 1.333333333;
- margin:0.666666667em 0;
+ margin:0 0 0.666666667em;
}
hr {
margin:1.5em 0 1.25em;