CSS: Fixed pagination wrapping in IE8

Fixes #5612
Merge pull request #5616 from pjackson28/fixpaginationie8

CSS: Fixed pagination wrapping in IE8