Fixed pagination style problem for ie8