Skip to content

Commit

Permalink
Flexslider.css Firefox negative margin bug
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
David Dyke committed Jan 22, 2014
1 parent ce5441b commit 844db1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexslider.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;}

Expand Down

0 comments on commit 844db1f

Please sign in to comment.