Firefox compadability

Make sure that we set the height and width for both html and
body if we are going to use max-height.