Header and footer text issue in Safari