From 7046553a45d92559448414d1038d41629ee0f8ff Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 1 Dec 2013 15:15:01 +0100 Subject: [PATCH] Fixed CSS problems with Chrome and Firefox --- public_html/media/css/core.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public_html/media/css/core.css b/public_html/media/css/core.css index dabe8a8b..c37a9561 100644 --- a/public_html/media/css/core.css +++ b/public_html/media/css/core.css @@ -45,6 +45,7 @@ body { } #top-nav li.main-nav-item { display: inline-block; + float: left; } #top-nav li input, @@ -67,6 +68,7 @@ body { } #top-nav li.search { + display: inline-block; float: right; background: white; margin: 5px 0; @@ -83,6 +85,7 @@ body { } #top-nav li.safety { + display: inline-block; float: right; margin-left: 5px; } @@ -384,6 +387,9 @@ button:hover { .clear { display: block; clear: both; + height: 1px; /* ghost top margin in firefox */ + width: 100%; + margin: 0 0 -1px 0; } pre.debug {