From 844db1f1c121b5a6d7280f780e6acc810a5c4073 Mon Sep 17 00:00:00 2001 From: David Dyke Date: Wed, 22 Jan 2014 21:06:26 +0000 Subject: [PATCH] Flexslider.css Firefox negative margin bug In the latest Firefox if you're using negative margins on '.flexslider', plus a positive bottom margin it cause flexslider to move down by whatever value is giving on the bottom margin. Changing the content value to a period fixes this and causes no harm to other browsers. --- flexslider.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexslider.css b/flexslider.css index fa25f9d1..77dc16df 100644 --- a/flexslider.css +++ b/flexslider.css @@ -42,7 +42,7 @@ .flex-pauseplay span {text-transform: capitalize;} /* Clearfix for the .slides element */ -.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} +.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} html[xmlns] .slides {display: block;} * html .slides {height: 1%;}