did a lot of style fixes for older browsers (safari and chrome)