fixing css for safari and mozilla