Fix error page alignment problems in various browsers

issue #418