fixes cross browser  layout issues