Adjusts styles for safari and firefox